IRC Ghost 12 bit support

This commit is contained in:
Štěpán Dalecký
2022-01-22 13:43:30 +01:00
committed by Raphael Coeffic
parent a177264759
commit 77386e6391
8 changed files with 94 additions and 52 deletions
+4
View File
@@ -1431,6 +1431,10 @@ void menuModelSetup(event_t event)
lcdDrawTextAlignedLeft(y, STR_WARN_BATTVOLTAGE);
putsVolts(lcdLastRightPos, y, getBatteryVoltage(), attr | PREC2 | LEFT);
}
else if (isModuleGhost(moduleIdx)) {
auto & module = g_model.moduleData[moduleIdx];
module.ghost.raw12bits = editCheckBox(module.ghost.raw12bits , MODEL_SETUP_2ND_COLUMN, y, INDENT "Raw 12 bits", attr, event);
}
}
break;