Cosmetics
This commit is contained in:
@@ -67,7 +67,7 @@ class RadioKeyDiagsWindow : public Window
|
|||||||
//KEYS
|
//KEYS
|
||||||
for (uint8_t i = KEY_START; i <= 6; i++) {
|
for (uint8_t i = KEY_START; i <= 6; i++) {
|
||||||
coord_t y = 1 + FH * (i - KEY_START);
|
coord_t y = 1 + FH * (i - KEY_START);
|
||||||
dc->drawTextAtIndex(KEY_COLUMN, y, STR_VKEYS, (i), 0);
|
dc->drawTextAtIndex(KEY_COLUMN, y, STR_VKEYS, i, 0);
|
||||||
displayKeyState(dc, 70, y, i);
|
displayKeyState(dc, 70, y, i);
|
||||||
}
|
}
|
||||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||||
|
|||||||
@@ -182,8 +182,8 @@ void RadioHardwarePage::build(FormWindow * window)
|
|||||||
new StaticText(window, grid.getLabelSlot(), STR_DEBUG, 0, FONT(BOLD));
|
new StaticText(window, grid.getLabelSlot(), STR_DEBUG, 0, FONT(BOLD));
|
||||||
auto debugAnas = new TextButton(window, grid.getFieldSlot(2, 0), STR_ANALOGS_BTN);
|
auto debugAnas = new TextButton(window, grid.getFieldSlot(2, 0), STR_ANALOGS_BTN);
|
||||||
debugAnas->setPressHandler([=]() -> uint8_t {
|
debugAnas->setPressHandler([=]() -> uint8_t {
|
||||||
auto debugAnasPage = new RadioAnaDiagsPage();
|
auto debugAnalogsPage = new RadioAnalogsDiagsPage();
|
||||||
debugAnasPage->setCloseHandler([=]() {
|
debugAnalogsPage->setCloseHandler([=]() {
|
||||||
calib->setFocus();
|
calib->setFocus();
|
||||||
});
|
});
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user