Skip to content

Commit

Permalink
#364 Wait for system to be fully started before running LED sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Aug 12, 2019
1 parent ea32e8c commit b2de256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hal/src/pm_stm32f4.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void pmTask(void *param)
batteryCriticalLowTimeStamp = tickCount;

pmSetChargeState(charge500mA);
vTaskDelay(500);
systemWaitStart();

while(1)
{
Expand Down

0 comments on commit b2de256

Please sign in to comment.