summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h
index e944bb2..6e2d1b0 100644
--- a/src/system.h
+++ b/src/system.h
@@ -6,13 +6,17 @@
#define SHUTDOWN_THRESHOLD 2048
+/**
+ * Contains the system idle loop. Checks for button presses, handles
+ * standby/resume, reads data from the Modem and updates the Display.
+ */
class System {
private:
uint16_t want_shutdown;
+ void shutdown(void);
public:
System() { want_shutdown = 0; };
void loop(void);
- void shutdown(void);
};
extern System rocket;