diff --git a/src/modules/src/lighthouse/lighthouse_core.c b/src/modules/src/lighthouse/lighthouse_core.c index f8a1b0c38f..9cb27f2642 100644 --- a/src/modules/src/lighthouse/lighthouse_core.c +++ b/src/modules/src/lighthouse/lighthouse_core.c @@ -363,7 +363,7 @@ static void useCalibrationData(pulseProcessor_t *appState) { const bool currentCalibDataValid = currentCalibData->valid; const bool isDataDifferent = ((newData.uid != currentCalibData->uid) || (newData.valid != currentCalibDataValid)); if (isDataDifferent) { - DEBUG_PRINT("Got calibration from %08X on channel %d\n", (unsigned int)appState->ootxDecoder[baseStation].frame.id, baseStation); + DEBUG_PRINT("Got calibration from %08X on channel %d\n", (unsigned int)appState->ootxDecoder[baseStation].frame.id, baseStation + 1); lighthouseCoreSetCalibrationData(baseStation, &newData); lighthouseStoragePersistCalibDataBackground(baseStation); diff --git a/src/modules/src/lighthouse/lighthouse_storage.c b/src/modules/src/lighthouse/lighthouse_storage.c index 74f1639cda..a498ca8a55 100644 --- a/src/modules/src/lighthouse/lighthouse_storage.c +++ b/src/modules/src/lighthouse/lighthouse_storage.c @@ -83,7 +83,7 @@ static void lhPersistDataWorker(void* arg) { const bool storeGeo = false; const bool storeCalibration = true; if (! lighthouseStoragePersistData(baseStation, storeGeo, storeCalibration)) { - DEBUG_PRINT("WARNING: Failed to persist calibration data for base station %i\n", baseStation); + DEBUG_PRINT("WARNING: Failed to persist calibration data for base station %i\n", baseStation + 1); } }