Index: firmware/App/Drivers/PeristalticPump.c =================================================================== diff -u -rfe29b840bff79d853e49baf3a78b080e1cf428b6 -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Drivers/PeristalticPump.c (.../PeristalticPump.c) (revision fe29b840bff79d853e49baf3a78b080e1cf428b6) +++ firmware/App/Drivers/PeristalticPump.c (.../PeristalticPump.c) (revision 395522dffef1348e176564925656012f529c1910) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2026 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file PeristalticPump.c * -* @author (last) Sean -* @date (last) 03-Oct-2024 +* @author (last) Dara Navaei +* @date (last) 25-Sep-2025 * -* @author (original) Sean -* @date (original) 03-Oct-2024 +* @author (original) Sean Nash +* @date (original) 24-Oct-2024 * ***************************************************************************/ @@ -236,6 +236,19 @@ /*********************************************************************//** * @brief + * The setPeristalticPumpHardStop function stops the pump and holds the torque + * of the pump. + * @details \b Inputs: none + * @details \b Outputs: none + * @return none + *************************************************************************/ +void setPeristalticPumpHardStop( void ) +{ + setH4BrakeAndHoldTorque(); +} + +/*********************************************************************//** + * @brief * The getPeristalticPumpSetSpeed function gets the current pump set * speed in RPM. * @note A negative speed indicates reverse direction.