diff --git a/firmware/main.cpp b/firmware/main.cpp index be9db94..42a60a6 100644 --- a/firmware/main.cpp +++ b/firmware/main.cpp @@ -46,7 +46,7 @@ int main() { while(true) { palTogglePad(GPIOB, 6); - chThdSleepMilliseconds(400); + chThdSleepMilliseconds(IsRunningClosedLoop() ? 50 : 400); } }