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