fix define else
This commit is contained in:
parent
dc07f8564f
commit
e8c64bfa95
|
@ -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
|
#define SERIAL_BUFFER_SIZE 64 // [bytes] Size of Serial Rx buffer. Make sure it is always larger than the structure size
|
||||||
#if defined(HOVERBRETT)
|
#if defined(HOVERBRETT)
|
||||||
#define SERIAL_TIMEOUT 20 // 20 = 0.1s = 100ms = 5*20ms
|
#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
|
#define SERIAL_TIMEOUT 160 // [-] Serial timeout duration for the received data. 160 ~= 0.8 sec. Calculation: 0.8 sec / 0.005 sec
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue