From 4b43cc32129d07c8a671de16656eb48db4d6706a Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 8 May 2024 21:45:32 -0400 Subject: [PATCH] docs --- firmware/hw_layer/mc33816.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/hw_layer/mc33816.cpp b/firmware/hw_layer/mc33816.cpp index a77a89bb40..35c4911c51 100644 --- a/firmware/hw_layer/mc33816.cpp +++ b/firmware/hw_layer/mc33816.cpp @@ -22,6 +22,7 @@ #include "hardware.h" #include "mpu_util.h" +#include "ignition_controller.h" static SPIConfig spiCfg = { .circular = false, .end_cb = NULL, @@ -199,6 +200,7 @@ void Pt2001::init() { static bool isInitialized = false; void Pt2001::initIfNeeded() { +// see also: isIgnVoltage() if (Sensor::get(SensorType::BatteryVoltage).value_or(VBAT_FALLBACK_VALUE) < LOW_VBATT) { isInitialized = false; efiPrintf("unhappy mc33 due to battery voltage");