summaryrefslogtreecommitdiff
path: root/instr-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'instr-daemon.c')
-rw-r--r--instr-daemon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/instr-daemon.c b/instr-daemon.c
index 58bff70..ea5f2b6 100644
--- a/instr-daemon.c
+++ b/instr-daemon.c
@@ -327,7 +327,7 @@ static gboolean finish_boot (void)
// FIXME - self-cal here - or in thread beside user sessions?
- globals.Flags.startup_complete = 1;
+ globals.Sys.startup_complete = 1;
return FALSE; // no more calls to this function are needed
}
@@ -336,9 +336,9 @@ static gboolean periodic_poll (void)
{
if (globals.HWDetect.beaglebone && bus_getpin (POWER_FAIL)) {
- globals.Flags.shutdown_started = TRUE;
+ globals.Sys.shutdown_started = TRUE;
- while (globals.Flags.flash_write_in_progress) {
+ while (globals.Sys.flash_write_in_progress) {
g_usleep(1000);
}
@@ -367,7 +367,7 @@ static gboolean periodic_poll (void)
exit(0);
}
- if (globals.Flags.startup_complete) {
+ if (globals.Sys.startup_complete) {
int i, output_on_time_so_far;
for (i=0; i<(globals.Flash.ChanKey_output_state?globals.Flash.channels:1); ++i) {