It was possible to have the Limits contextual menu displayed in
READ_ONLY mode
This commit is contained in:
@@ -4064,7 +4064,7 @@ void menuModelLimits(uint8_t event)
|
|||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
putsChn(0, y, k+1, (sub==k && m_posHorz < 0) ? INVERS : 0);
|
putsChn(0, y, k+1, (sub==k && m_posHorz < 0) ? INVERS : 0);
|
||||||
if (sub==k && m_posHorz < 0 && event==EVT_KEY_LONG(KEY_ENTER)) {
|
if (sub==k && m_posHorz < 0 && event==EVT_KEY_LONG(KEY_ENTER) && !READ_ONLY()) {
|
||||||
killEvents(event);
|
killEvents(event);
|
||||||
MENU_ADD_ITEM(STR_RESET);
|
MENU_ADD_ITEM(STR_RESET);
|
||||||
MENU_ADD_ITEM(STR_COPY_TRIMS_TO_OFS);
|
MENU_ADD_ITEM(STR_COPY_TRIMS_TO_OFS);
|
||||||
|
|||||||
Reference in New Issue
Block a user