fix T8 compilation

This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent d9c66f16f3
commit 0677c3e703
@@ -151,7 +151,7 @@ void delay_ms(uint32_t count);
#define ROTENC_HIGHSPEED 50
#define ROTENC_DELAY_MIDSPEED 32
#define ROTENC_DELAY_HIGHSPEED 16
#elif defined(RADIO_T8)
#elif defined(RADIO_T8) && defined(__cplusplus)
constexpr uint8_t rotencSpeed = 1;
#endif