workable RTM 20250506R1

This commit is contained in:
Yunhorn 2025-05-06 10:24:47 +08:00
parent 1ea6d47bc8
commit 89000483ec
4 changed files with 3 additions and 2 deletions

View File

@ -1035,11 +1035,12 @@ static void SendTxData(void)
} else if ((sensor_data_ready!= 0U)) //sensor_data_ready for manual push button-1 trigger) } else if ((sensor_data_ready!= 0U)) //sensor_data_ready for manual push button-1 trigger)
{ {
sensor_data_ready =0; sensor_data_ready =0;
#if 0
if (sts_work_mode > STS_RSS_MODE) // keep compatible with previous version, PIXEL-NETWORK if (sts_work_mode > STS_RSS_MODE) // keep compatible with previous version, PIXEL-NETWORK
{ {
AppData.Buffer[i++] = (uint8_t)(AppLedStateOn|0x80)&0x0ff; //00 ************ MUST KEEP IT HERE, NON-ZERO ****** AppData.Buffer[i++] = (uint8_t)(AppLedStateOn|0x80)&0x0ff; //00 ************ MUST KEEP IT HERE, NON-ZERO ******
} }
#endif // disabled 2025 05 06
AppData.Buffer[i++] = (uint8_t)(sensorData.lamp_bar_color)&0xff; //01 AppData.Buffer[i++] = (uint8_t)(sensorData.lamp_bar_color)&0xff; //01
AppData.Buffer[i++] = (uint8_t)(sensorData.workmode)&0xff; //02 WORK MODE AppData.Buffer[i++] = (uint8_t)(sensorData.workmode)&0xff; //02 WORK MODE
if (sts_work_mode == STS_REEDSWITCH_MODE) if (sts_work_mode == STS_REEDSWITCH_MODE)

Binary file not shown.