Define array of Accelerometer names
This commit is contained in:
@@ -26,6 +26,7 @@ extern const char *SymbolCellCount;
|
||||
extern const char *SymbolVersionNumber;
|
||||
|
||||
extern const char *DebugMenu[];
|
||||
extern const char *AccelTypeNames[];
|
||||
|
||||
enum class SettingsItemIndex : uint8_t {
|
||||
DCInCutoff,
|
||||
|
||||
@@ -713,7 +713,7 @@ void showDebugMenu(void) {
|
||||
break;
|
||||
case 10:
|
||||
// Print PCB ID number
|
||||
OLED::printNumber(DetectedAccelerometerVersion, 2, FontStyle::SMALL);
|
||||
OLED::print(AccelTypeNames[(int)DetectedAccelerometerVersion], FontStyle::SMALL);
|
||||
break;
|
||||
case 11:
|
||||
// Power negotiation status
|
||||
|
||||
Reference in New Issue
Block a user