From b2de256981a73485d78a53c5f3a02d79ca020f68 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Mon, 12 Aug 2019 17:23:33 +0200 Subject: [PATCH] #364 Wait for system to be fully started before running LED sequences --- src/hal/src/pm_stm32f4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hal/src/pm_stm32f4.c b/src/hal/src/pm_stm32f4.c index 85a1b4ce73..935c882d1d 100644 --- a/src/hal/src/pm_stm32f4.c +++ b/src/hal/src/pm_stm32f4.c @@ -287,7 +287,7 @@ void pmTask(void *param) batteryCriticalLowTimeStamp = tickCount; pmSetChargeState(charge500mA); - vTaskDelay(500); + systemWaitStart(); while(1) {