From e8c64bfa95e650659cacbfb823f2e0d861500f34 Mon Sep 17 00:00:00 2001 From: Fisch Date: Mon, 28 Mar 2022 19:48:44 +0200 Subject: [PATCH] fix define else --- Inc/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inc/config.h b/Inc/config.h index a52c29b..5ce195c 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -692,7 +692,7 @@ pio run -t upload #define SERIAL_BUFFER_SIZE 64 // [bytes] Size of Serial Rx buffer. Make sure it is always larger than the structure size #if defined(HOVERBRETT) #define SERIAL_TIMEOUT 20 // 20 = 0.1s = 100ms = 5*20ms - #elif + #else #define SERIAL_TIMEOUT 160 // [-] Serial timeout duration for the received data. 160 ~= 0.8 sec. Calculation: 0.8 sec / 0.005 sec #endif #endif