From de22b4c09bed6f3ec03809b91939419d275d891e Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 12 Dec 2023 18:24:42 -0500 Subject: [PATCH] better logging only:mre_f4 --- firmware/hw_layer/mc33816.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/hw_layer/mc33816.cpp b/firmware/hw_layer/mc33816.cpp index e0f2026cfa..65fcb24d33 100644 --- a/firmware/hw_layer/mc33816.cpp +++ b/firmware/hw_layer/mc33816.cpp @@ -201,11 +201,14 @@ static bool isInitialized = false; void Pt2001::initIfNeeded() { if (Sensor::get(SensorType::BatteryVoltage).value_or(VBAT_FALLBACK_VALUE) < LOW_VBATT) { isInitialized = false; + efiPrintf("unhappy mc33 due to battery voltage"); } else { if (!isInitialized) { isInitialized = restart(); if (isInitialized) { efiPrintf("happy mc33/PT2001!"); + } else { + efiPrintf("unhappy mc33"); } } }