18 lines
464 B
C
18 lines
464 B
C
#ifndef WAKEUP_REASON_H
|
|
#define WAKEUP_REASON_H
|
|
|
|
#define WAKEUP_REASON_UNDEFINED 0
|
|
#define WAKEUP_REASON_TEMP1_CHANGE 2
|
|
#define WAKEUP_REASON_TEMP2_CHANGE 3
|
|
#define WAKEUP_REASON_BATTERY_CHANGE 4
|
|
#define WAKEUP_REASON_SOLAR_CHANGE 5
|
|
#define WAKEUP_REASON_RTC_MISSING 6
|
|
#define WAKEUP_REASON_TIME_UNSET 7
|
|
#define WAKEUP_REASON_MODE2_WAKEUP_TIMER 8
|
|
|
|
|
|
#define WAKEUP_REASON_MOIST_CHANGE 20 //20-26
|
|
#define WAKEUP_REASON_PLANT_DRY 30 //30-36
|
|
|
|
|
|
#endif |