diff --git a/Core/Src/main.c b/Core/Src/main.c index f417c69..679bdff 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -128,7 +128,7 @@ int main(void) /* USER CODE BEGIN 2 */ - //STS_Sensor_Init(); + STS_Sensor_Init(); /* USER CODE END 2 */ //MX_TOF_Init(); //STS_SENSOR_Distance_Test_Process(); diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index 211bb24..3c08660 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -612,12 +612,13 @@ void STS_Sensor_Init(void) LED_GREEN_ON;HAL_Delay(150); LED_RED_ON;HAL_Delay(150); LED_GREEN_OFF;HAL_Delay(150); +#if 0 LED_RED_OFF;HAL_Delay(150); LED_GREEN_ON;HAL_Delay(50); LED_RED_ON;HAL_Delay(50); LED_GREEN_OFF;HAL_Delay(50); LED_RED_OFF;HAL_Delay(50); - +#endif /* VVVVVV migrated to yunhorn_sts_process.c */ // #if 0 /// **************************************************************************** TO-DO LIST @@ -1477,7 +1478,7 @@ static void OnJoinRequest(LmHandlerJoinParams_t *joinParams) } - UTIL_TIMER_Start(&TxTimer); + // UTIL_TIMER_Start(&TxTimer); // UTIL_TIMER_Start(&YunhornSTSWakeUpScanTimer); /* USER CODE END OnJoinRequest_1 */ } diff --git a/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin b/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin index 7d52a2b..89e078b 100644 Binary files a/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin and b/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin differ diff --git a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf index 9b8d650..722831b 100644 Binary files a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf and b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf differ