Index: firmware/App/Services/FpgaTD.c =================================================================== diff -u -r82bb2222f791a434d22921e2fe4f5edd7e74776d -r50f4b79164155c1bc375dd3ff0e8588f934dc729 --- firmware/App/Services/FpgaTD.c (.../FpgaTD.c) (revision 82bb2222f791a434d22921e2fe4f5edd7e74776d) +++ firmware/App/Services/FpgaTD.c (.../FpgaTD.c) (revision 50f4b79164155c1bc375dd3ff0e8588f934dc729) @@ -59,8 +59,7 @@ #define FPGA_BACKUP_ALARM_AUDIO_CONVERT 0.4F ///< Converts backup (piezo) alarm audio ADC volts to amps. -#define H9_SWITCH_MASK 0x0010 ///< Front door switch bit mask. Bit 4 of the GPIO register. -#define PUMP_TRACK_SWITCH_MASK 0x0020 ///< Pump track switch bit mask. Bit 5 of the GPIO register. +#define H9_SWITCH_MASK 0x0001 ///< Front door switch bit mask. Bit 0 of the GPIO register. #define FPGA_AIRTRAP_LEVEL_LOW_H17_MASK 0x0008 ///< Bit mask for air trap lower level sensor. #define FPGA_AIRTRAP_LEVEL_HIGH_H16_MASK 0x0004 ///< Bit mask for air trap upper level sensor. @@ -1061,13 +1060,13 @@ } /*********************************************************************//** - * The getFPGAFrontDoorStatus function returns the FPGA front door status + * The getH9FrontDoorClosedStatus function returns the FPGA front door status * bit (0x10). * @details \b Inputs: fpgaSensorReadings * @details \b Outputs: none * @return TRUE if front door is closed, FALSE if not. *************************************************************************/ -BOOL getFPGAFrontDoorClosedStatus( void ) +BOOL getH9FrontDoorClosedStatus( void ) { BOOL result = TRUE;