kopia lustrzana https://github.com/UU5JPP/Wolf-LITE
Блокировка валкодера по TX
rodzic
ca21d489cc
commit
db247f5771
|
@ -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
|
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)
|
if (TRX.Locked)
|
||||||
return;
|
return;
|
||||||
if (LCD_systemMenuOpened)
|
if (LCD_systemMenuOpened)
|
||||||
|
|
Ładowanie…
Reference in New Issue