Function rc_encoder_cleanup

Function Documentation

int rc_encoder_cleanup(void)

Stops the encoder counters and closes file descriptors. This is not strictly necessary but is recommended that the user calls this function at the end of their program.

Returns:

0 on success or -1 on failure.