Fix up mixer menu display
This commit is contained in:
@@ -23,8 +23,11 @@
|
||||
|
||||
#include "../lcdprint.h"
|
||||
|
||||
#define MENU_ITEM_ADDON_START(X) do{ \
|
||||
#define _MENU_ITEM_ADDON_START(N,X) do{ \
|
||||
if (ui.should_draw() && _menuLineNr == _thisItemNr - 1) { \
|
||||
SETCURSOR_X(X)
|
||||
N(X)
|
||||
|
||||
#define MENU_ITEM_ADDON_START(X) _MENU_ITEM_ADDON_START(SETCURSOR_X, X)
|
||||
#define MENU_ITEM_ADDON_START_RJ(X) _MENU_ITEM_ADDON_START(SETCURSOR_X_RJ, X)
|
||||
|
||||
#define MENU_ITEM_ADDON_END() } }while(0)
|
||||
|
||||
Reference in New Issue
Block a user