From 3a9488d4f81d0071335d3b6568d47d2913c33dac Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 25 Mar 2024 11:11:50 +0700 Subject: [PATCH] fix conversion loop bug --- ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/CurrentTransformerCard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/CurrentTransformerCard.cpp b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/CurrentTransformerCard.cpp index db469b0..b0ea648 100644 --- a/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/CurrentTransformerCard.cpp +++ b/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/CurrentTransformerCard.cpp @@ -6,6 +6,7 @@ CurrentTransformerCard::CurrentTransformerCard(AnalogCard* analogCard, uint8_t p this->pin = pin; this->voltage = voltage; this->adcToCurrent = adcToCurrent; + this->conversionInterval = conversionInterval; } void CurrentTransformerCard::bindFRAM(FRAM *fram, uint32_t framAddress)