summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-18 14:36:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-03-18 14:36:24 +0100
commit1650e2ffbbd3943942d01aacb8c487c361df282a (patch)
tree7b38b9d36843c699f7e4cfb01a24425346a54015
parent4014014f58fcc7fa350a96e7aaf7a73605f9afee (diff)
System: Document handleTimeout
-rw-r--r--src/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index e5ba9ef..dcff642 100644
--- a/src/system.h
+++ b/src/system.h
@@ -77,6 +77,13 @@ class System {
*/
void loop(void);
+ /**
+ * Resets the modem receive state machine and loads the
+ * "Transmission error" message. Called by the Watchdog Timeout
+ * ISR when a transmission was started (2x START received) but not
+ * properly finished (that is, four seconds passed since the last
+ * received byte and END byte was receveid).
+ */
void handleTimeout(void);
};