Proposed is a method for controlling pressure supplied by a hydraulic pump that includes determining whether there is an impending overshoot in a value of the pressure supplied by the hydraulic pump and engaging a peak and hold controller when it is determined that there is an impending overshoot in a value of the pressure supplied by the hydraulic pump, thereby reducing or eliminating supplied pressure overshoot.