get Hold Interval
Checks if the value of interval is not less than zero.
Return
HOLD_INTERVAL if interval is less than zero; otherwise, the interval value.
Parameters
interval
A interval value in ms.
Checks if the value of interval is not less than zero.
HOLD_INTERVAL if interval is less than zero; otherwise, the interval value.
A interval value in ms.