sd_settings.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SD_CARD_DEVICE   "/dev/mmcblk0p1"
#define SD_CARD_MOUNTPOINT   "/media/mmcblk0p1"

Functions

GtkWidget * create_sd_settings_window (GtkWidget *parent)
void sd_card_mounted (gboolean is_mounted)

Define Documentation

#define SD_CARD_DEVICE   "/dev/mmcblk0p1"

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 31 of file sd_settings.h.

#define SD_CARD_MOUNTPOINT   "/media/mmcblk0p1"

Definition at line 32 of file sd_settings.h.

Referenced by on_mounted(), on_reset_button_clicked(), on_unmounted(), and update_sd_widgets().


Function Documentation

GtkWidget* create_sd_settings_window ( GtkWidget *  parent  ) 
void sd_card_mounted ( gboolean  is_mounted  ) 

Definition at line 179 of file sd_capacity.c.

References g_is_updating, g_sd_card_mounted, g_sdcapacity_window, LOGPRINTF, and update_sd_widgets().

00180 {
00181     LOGPRINTF("entry: is_mounted [%d]", is_mounted);
00182     
00183     while (g_is_updating == TRUE) {
00184         sched_yield();
00185     }
00186 
00187     g_is_updating = TRUE;
00188     
00189     // remember card state
00190     g_sd_card_mounted = is_mounted;
00191 
00192     // show free space
00193 
00194     if (g_sdcapacity_window != NULL)
00195     {
00196         update_sd_widgets();
00197     }
00198     g_is_updating = FALSE;
00199 }

Here is the call graph for this function:

Generated by  doxygen 1.6.2-20100208