---- minor change for open/close green/red

This commit is contained in:
Yunhorn 2024-07-22 11:53:02 +08:00
parent c68f3c1a4e
commit 8a6851c32d
2 changed files with 4 additions and 4 deletions
Core/Inc
LoRaWAN/App

View File

@ -30,8 +30,8 @@ extern "C" {
#define DEFAULT_SATURATION 50 // 0 - 100 SSaturation, 0~100
#define DEFAULT_BRIGHTNESS 50 // 0 - 100 VValue of lightness, 0~100
#define DEFAULT_LUMINANCE_LEVEL (30)
#define STS_Status_Door_Close (1) //Normal Close NC:Open **2024-07-15 changed
#define STS_Status_Door_Open (0) //Normal Close NC:Close **2024-07-15 changed
#define STS_Status_Door_Close (0) //Normal Close NC:Open **2024-07-15 changed
#define STS_Status_Door_Open (1) //Normal Close NC:Close **2024-07-15 changed
#define STS_Status_SOS_Pushdown (0) //Normal Open NO:Open
#define STS_Status_SOS_Release (1) //Normal Open NO:Close

View File

@ -145,8 +145,8 @@ extern volatile float sts_distance_rss_distance, sts_sensor_install_height;
//#define STS_Status_Door_Open (0) //Normal Close NC:Close **2024-07-15 changed
char sts_door_status_code[2][10]={
"Open ",
"Close"
"Close",
"Open "
};
char sts_sos_status_code[2][10]={
"PushDown",