mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 09:43:03 +00:00
Rename axp192_found to pmu_found to avoid confusion
This commit is contained in:
@@ -84,7 +84,7 @@ bool eink_found = true;
|
||||
|
||||
uint32_t serialSinceMsec;
|
||||
|
||||
bool axp192_found;
|
||||
bool pmu_found;
|
||||
|
||||
// Array map of sensor types (as array index) and i2c address as value we'll find in the i2c scan
|
||||
uint8_t nodeTelemetrySensorsMap[7] = { 0, 0, 0, 0, 0, 0, 0 };
|
||||
@@ -302,7 +302,7 @@ void setup()
|
||||
|
||||
// Do this after service.init (because that clears error_code)
|
||||
#if defined(HAS_AXP192) || defined(HAS_AXP2101)
|
||||
if (!axp192_found)
|
||||
if (!pmu_found)
|
||||
RECORD_CRITICALERROR(CriticalErrorCode_NoAXP192); // Record a hardware fault for missing hardware
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user