feat: ImmersionRC Ghost 12 bit support

IRC Ghost 12 bit support
This commit is contained in:
Peter Feerick
2022-01-27 09:58:09 +10:00
committed by GitHub
26 changed files with 511 additions and 343 deletions
+4
View File
@@ -1670,6 +1670,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;
}