Index: firmware/App/Controllers/Thermistors.c =================================================================== diff -u -r984bfc66d6fe07456671a1039472356871f0161c -r6499ea25921fcf67826fa0c35bb03caf411ba542 --- firmware/App/Controllers/Thermistors.c (.../Thermistors.c) (revision 984bfc66d6fe07456671a1039472356871f0161c) +++ firmware/App/Controllers/Thermistors.c (.../Thermistors.c) (revision 6499ea25921fcf67826fa0c35bb03caf411ba542) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2020-2022 Diality Inc. - All Rights Reserved. +* Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Thermistors.c * * @author (last) Dara Navaei -* @date (last) 05-Sep-2022 +* @date (last) 03-Nov-2022 * * @author (original) Dara Navaei * @date (original) 25-Nov-2020 @@ -24,6 +24,7 @@ #include "SystemCommMessages.h" #include "Thermistors.h" #include "TaskGeneral.h" +#include "Utilities.h" /** * @addtogroup Thermistors @@ -226,7 +227,7 @@ if ( ++adcReadCounter >= THERMISTORS_ADC_READ_INTERVAL ) { #ifndef _RELEASE_ - if ( SW_CONFIG_ENABLE_VALUE == getSoftwareConfigStatus( SW_CONFIG_ENABLE_V3_SYSTEM ) ) + if ( HW_CONFIG_BETA == getHardwareConfigStatus() ) { thermistorsStatus[ THERMISTOR_ONBOARD_NTC ].rawADCRead = getIntADCReading( INT_ADC_BOARD_THERMISTOR ); }