Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r6499ea25921fcf67826fa0c35bb03caf411ba542 -r1998d835c19a3f5c9528d5ae27584d6ad555008f --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 6499ea25921fcf67826fa0c35bb03caf411ba542) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 1998d835c19a3f5c9528d5ae27584d6ad555008f) @@ -8,8 +8,8 @@ * * @file FPGA.c * -* @author (last) Sean Nash -* @date (last) 20-Dec-2022 +* @author (last) Bill Bracken +* @date (last) 11-Jan-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -575,13 +575,6 @@ { fpgaReadByteSize = sizeof( DG_FPGA_SENSORS_T ); -#ifndef _RELEASE_ - if ( ( HW_CONFIG_BETA == getHardwareConfigStatus() ) || ( DG_MODE_INIT == getCurrentOperationMode() ) ) - { - fpgaReadByteSize = FPGA_SIZE_OF_V3_READ_BYTES; - } -#endif - // FPGA incoming state machine switch ( fpgaState ) { @@ -642,13 +635,6 @@ { fpgaReadByteSize = sizeof( DG_FPGA_SENSORS_T ); -#ifndef _RELEASE_ - if ( ( HW_CONFIG_BETA == getHardwareConfigStatus() ) || ( DG_MODE_INIT == getCurrentOperationMode() ) ) - { - fpgaReadByteSize = FPGA_SIZE_OF_V3_READ_BYTES; - } -#endif - // FPGA outgoing state machine switch ( fpgaState ) { @@ -2686,4 +2672,18 @@ return fpgaSensorReadings.fpgaOnBoardThermistor; } +/*********************************************************************//** + * @brief + * The getFPGAPowerSupply2ThermistorCount function returns the + * Power Supply 2 thermistor + * count. + * @details Inputs: fpgaSensorReadings + * @details Outputs: none + * @return onboard thermistor + *************************************************************************/ +U16 getFPGAPowerSupply2ThermistorCount( void ) +{ + return fpgaSensorReadings.fpgaPowerSupply2; +} + /**@}*/