Index: firmware/App/Services/FPGA.c =================================================================== diff -u -r9d40104500ae1c144a19b36b83a0515d32fb7fc9 -r3477dd649f67442ad4bdea810ce5a251c1b0a2bf --- firmware/App/Services/FPGA.c (.../FPGA.c) (revision 9d40104500ae1c144a19b36b83a0515d32fb7fc9) +++ firmware/App/Services/FPGA.c (.../FPGA.c) (revision 3477dd649f67442ad4bdea810ce5a251c1b0a2bf) @@ -1332,38 +1332,20 @@ /*********************************************************************//** * @brief - * The enableValvesPIDControl function enables the PID controller \n - * bit of the valves + * The setFPGAValvesControlMode function sets the valves control mode * @details * Inputs : fpgaActuatorSetPoints * Outputs : fpgaActuatorSetPoints * @param bits : The bits to enable the PID controller of a valve * @return none *************************************************************************/ -void enableFPGAValvesPIDControl( U16 bits ) +void setFPGAValvesControlMode( U16 bits ) { fpgaActuatorSetPoints.fpgaPIDControl = bits; - //fpgaActuatorSetPoints.fpgaPIDControl | bits; } /*********************************************************************//** * @brief - * The enableValvesBypassControl function enables the bypass controller \n - * bit of the valves - * @details - * Inputs : fpgaActuatorSetPoints - * Outputs : fpgaActuatorSetPoints - * @param bits : The bits to enable the bypass controller of a valve - * @return none - *************************************************************************/ -void enableFPGAValvesBypassControl( U16 bits ) -{ - fpgaActuatorSetPoints.fpgaPIDControl = - fpgaActuatorSetPoints.fpgaPIDControl & bits; -} - -/*********************************************************************//** - * @brief * The getValvesStatus function reads the status of the valves * @details * Inputs : fpgaSensorReadings