Reduce startup delay
The 5s discharge is managed via ABX/PDU
This commit is contained in:
parent
d1c2cc5d80
commit
34611dac20
|
@ -256,9 +256,8 @@ int main(void)
|
|||
mission_t new_mission = mission; // By default, don't change mission
|
||||
|
||||
// Wait at least 1s to prevent bus error state while ABX is starting up
|
||||
// Wait at least 5s for the discharge of the DC link (so AMS can't restart)
|
||||
// During that time, show loading animation to show LEDs work
|
||||
while (HAL_GetTick() < 5000) {
|
||||
while (HAL_GetTick() < 1000) {
|
||||
setMissionLED(M_MANUAL, GPIO_PIN_SET);
|
||||
HAL_Delay(150);
|
||||
setMissionLED(M_MANUAL, GPIO_PIN_RESET);
|
||||
|
|
Loading…
Reference in New Issue