Function rc_dsm_set_disconnect_callback#

Function Documentation#

void rc_dsm_set_disconnect_callback(void (*func)(void))#

Set your own callback function to be called when DSM loses connection.

Parameters:

func[in] callback function