// 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 volatile extern unsigned rf_heading; volatile extern unsigned rf_speed; volatile extern unsigned rf_packets; extern fix16_t RF_TILT_MIN; extern fix16_t RF_TILT_MAX; void rf_start(); void rf_stop();