diff --git a/STM32/Core/Src/front_unit.c b/STM32/Core/Src/front_unit.c index e9d0011..1de562a 100644 --- a/STM32/Core/Src/front_unit.c +++ b/STM32/Core/Src/front_unit.c @@ -259,6 +259,8 @@ void FRONTPANEL_ENCODER2_checkRotate(void) static void FRONTPANEL_ENCODER_Rotated(float32_t direction) // rotated encoder, handler here, direction -1 - left, 1 - right { + if (TRX_on_TX()) + return; if (TRX.Locked) return; if (LCD_systemMenuOpened)