Issue #18: Store correct flag number in error memory

This commit is contained in:
2020-09-08 19:23:14 +02:00
parent e0f61af709
commit 1c1d1c4c97
2 changed files with 27 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
enum safety_flag {
ERR_FLAG_NO_FLAG = 0,
ERR_FLAG_MEAS_ADC_OFF = (1<<0),
ERR_FLAG_MEAS_ADC_OVERFLOW = (1<<1),
ERR_FLAG_MEAS_ADC_WATCHDOG = (1<<2),