// Radio control interface. Runs a thread to receive data packets // and updates rf_heading and rf_speed if the packet is valid. // The variables are updated inside chSysLock(). #pragma once #include #include void rf_get_speed(v2d *speed); volatile extern unsigned rf_packets; volatile extern unsigned rf_dropped_flags; void rf_start(); void rf_stop();