Index: firmware/App/Drivers/GLXferPump.c =================================================================== diff -u -r3fe55376370dc82b5edcb20ac6026d8f079e401b -recd6cd89ced8a30e1865eb120c0b8d080cc3cab9 --- firmware/App/Drivers/GLXferPump.c (.../GLXferPump.c) (revision 3fe55376370dc82b5edcb20ac6026d8f079e401b) +++ firmware/App/Drivers/GLXferPump.c (.../GLXferPump.c) (revision ecd6cd89ced8a30e1865eb120c0b8d080cc3cab9) @@ -90,39 +90,5 @@ * TEST SUPPORT FUNCTIONS *************************************************************************/ - -/*********************************************************************//** - * @brief - * The testSetAirPump function sets the air pump to a given state (on/off). - * @details \b Inputs: none - * @details \b Outputs: currentAirPumpMotorPowerLevel - * @param message set message from Dialin which includes the state to set - * the air pump to. - * @return TRUE if set request is successful, FALSE if not - *************************************************************************/ -BOOL testSetAirPump( MESSAGE_T *message ) -{ - BOOL result = FALSE; - - // Verify tester has logged in with TD and override type is valid - if ( TRUE == isTestingActivated() ) - { - // Verify payload length is valid - if ( sizeof( U32 ) == message->hdr.payloadLen ) - { - U32 power; - - memcpy( &power, message->payload, sizeof(U32) ); - if ( power <= AIR_PUMP_MOTOR_MAX_PWM ) - { - setAirPumpMotorPower( (U08)power ); - result = TRUE; - } - } - } - - return result; -} - /**@}*/