Index: firmware/App/Services/Interrupts.c =================================================================== diff -u -r61716bc97ecca8af1ec560333844a8cf602eccb0 -r46b0fc61730942f316c8bc967ff4dd61828ad562 --- firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 61716bc97ecca8af1ec560333844a8cf602eccb0) +++ firmware/App/Services/Interrupts.c (.../Interrupts.c) (revision 46b0fc61730942f316c8bc967ff4dd61828ad562) @@ -46,8 +46,8 @@ #define COMM_ERROR_TIME_WINDOW_MS (10 * SEC_PER_MIN * MS_PER_SECOND) ///< Time window for comm error counts. #define HET1_EDGE_BP_ROTOR_HALL_SENSOR 0 ///< HET1 edge detector associated with blood pump rotor hall sensor. -#define HET1_EDGE_DPI_ROTOR_HALL_SENSOR 1 ///< HET1 edge detector associated with dialysate inlet pump rotor hall sensor. -#define HET1_EDGE_DPO_ROTOR_HALL_SENSOR 2 ///< HET1 edge detector associated with dialysate outlet pump rotor hall sensor. +#define HET1_EDGE_DPO_ROTOR_HALL_SENSOR 1 ///< HET1 edge detector associated with dialysate outlet pump rotor hall sensor. +#define HET1_EDGE_DPI_ROTOR_HALL_SENSOR 2 ///< HET1 edge detector associated with dialysate inlet pump rotor hall sensor. // ********** private data ********** @@ -271,16 +271,14 @@ signalBloodPumpRotorHallSensor(); break; - case HET1_EDGE_DPI_ROTOR_HALL_SENSOR: - //signalDialInPumpRotorHallSensor(); + case HET1_EDGE_DPO_ROTOR_HALL_SENSOR: signalDialOutPumpRotorHallSensor(); break; - case HET1_EDGE_DPO_ROTOR_HALL_SENSOR: - //signalDialOutPumpRotorHallSensor(); - signalDialInPumpRotorHallSensor(); - break; - + case HET1_EDGE_DPI_ROTOR_HALL_SENSOR: + signalDialInPumpRotorHallSensor(); + break; + default: SET_ALARM_WITH_2_U32_DATA( ALARM_ID_HD_SOFTWARE_FAULT, SW_FAULT_ID_INTERRUPTS_INVALID_EDGE_DETECTED, edge ) break;