STM32H743/APL/app.c
@@ -23,16 +23,18 @@ while (1) { HIDO_UINT32 timeout = HIDO_TimerGetNearestTimeout(1000); //HIDO_UINT32 timeout = HIDO_TimerGetNearestTimeout(1000); HIDO_UINT32 timeout = 100; if (xSemaphoreTake(g_semaphoreHandle, timeout / portTICK_PERIOD_MS) == pdTRUE) { } DBG_Poll(); BT_Poll(); HIDO_ATLitePoll(); Internet_Poll(); GPS_Poll(); UDPClient_Poll(); } HIDO_TimerPoll(); } @@ -53,6 +55,14 @@ } } void app_trigger(void) { if (g_semaphoreHandle != NULL) { xSemaphoreGive(g_semaphoreHandle); } } void app_main(void) { MCUFlash_Init();