aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsm/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsm/common.h')
-rw-r--r--src/fsm/common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fsm/common.h b/src/fsm/common.h
index 53da672..b33f1f8 100644
--- a/src/fsm/common.h
+++ b/src/fsm/common.h
@@ -41,9 +41,10 @@ uint64_t timestamp_now(void);
int random_bool(void);
// Fault handling mechanism
-#define FAULT_SOURCE_MAIN 1
-#define FAULT_SOURCE_GPS 2
-#define FAULT_SOURCE_I2C 3
+#define FAULT_SOURCE_MAIN 1
+#define FAULT_SOURCE_GPS 2
+#define FAULT_SOURCE_I2C 3
+#define FAULT_SOURCE_USART 4
void trigger_fault(int source);
#endif // _COMMON_H_