From b8c5e42f9dfad5dc86426c950a6c7d70e8a705e7 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 10 Dec 2020 18:09:52 -0800 Subject: [PATCH] change blink in closed loop --- firmware/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }