Tweak state numbers
This commit is contained in:
parent
29e3aa08cb
commit
e820301490
@ -52,18 +52,18 @@ static const char *SENSOR_STRING[] = {
|
|||||||
* @brief State of plants
|
* @brief State of plants
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define PLANTSTATE_NUM_DEACTIVATED 0xF000
|
#define PLANTSTATE_NUM_DEACTIVATED -1
|
||||||
#define PLANTSTATE_NUM_NO_SENSOR 0xE000
|
#define PLANTSTATE_NUM_NO_SENSOR -2
|
||||||
#define PLANTSTATE_NUM_WET 0x0100
|
#define PLANTSTATE_NUM_WET 0x00
|
||||||
#define PLANTSTATE_NUM_SUNNY_ALARM 0x0021
|
#define PLANTSTATE_NUM_SUNNY_ALARM 0x11
|
||||||
#define PLANTSTATE_NUM_ACTIVE_ALARM 0x0201
|
#define PLANTSTATE_NUM_ACTIVE_ALARM 0x41
|
||||||
#define PLANTSTATE_NUM_ACTIVE_SUPESSED 0x001F
|
#define PLANTSTATE_NUM_ACTIVE_SUPESSED -3
|
||||||
#define PLANTSTATE_NUM_ACTIVE 0x0200
|
#define PLANTSTATE_NUM_ACTIVE 0x40
|
||||||
#define PLANTSTATE_NUM_SUNNY 0x0020
|
#define PLANTSTATE_NUM_SUNNY 0x10
|
||||||
#define PLANTSTATE_NUM_COOLDOWN_ALARM 0x0031
|
#define PLANTSTATE_NUM_COOLDOWN_ALARM 0x21
|
||||||
#define PLANTSTATE_NUM_COOLDOWN 0x0030
|
#define PLANTSTATE_NUM_COOLDOWN 0x20
|
||||||
#define PLANTSTATE_NUM_AFTERWORK_ALARM 0x0041
|
#define PLANTSTATE_NUM_AFTERWORK_ALARM 0x31
|
||||||
#define PLANTSTATE_NUM_AFTERWORK 0x0040
|
#define PLANTSTATE_NUM_AFTERWORK 0x30
|
||||||
|
|
||||||
#define PLANTSTATE_STR_DEACTIVATED "deactivated"
|
#define PLANTSTATE_STR_DEACTIVATED "deactivated"
|
||||||
#define PLANTSTATE_STR_NO_SENSOR "nosensor"
|
#define PLANTSTATE_STR_NO_SENSOR "nosensor"
|
||||||
|
Loading…
Reference in New Issue
Block a user