Function rc_motor_cleanup#
Defined in File motor.h
Function Documentation#
-
int rc_motor_cleanup(void)#
Puts all 4 motors into a free-spin (0 throttle) state, puts the h-bridges into standby mode, and closes all file pointers to GPIO and PWM systems.
- Returns:
0 on success, -1 on failure.