Added airtime limiting and channel timing stat reporting over serial/USB/bluetooth

This commit is contained in:
Mark Qvist 2023-09-13 20:05:05 +02:00
parent f2e1791562
commit eb7b5c6c26
5 changed files with 139 additions and 20 deletions

View file

@ -359,6 +359,9 @@
float us_per_byte = 0.0;
#define current_airtime_bin(void) (millis()%AIRTIME_LONGTERM_MS)/AIRTIME_BINLEN_MS
#endif
float st_airtime_limit = 0.0;
float lt_airtime_limit = 0.0;
bool airtime_lock = false;
bool stat_signal_detected = false;
bool stat_signal_synced = false;