drivers/rc/crsf_rc: update standalone driver for CRSF and direct support for lq/rssi (#20084)

Co-authored-by: Chris Seto <chris1seto@gmail.com>
This commit is contained in:
chris1seto
2022-09-23 19:19:25 -04:00
committed by GitHub
co-authored by Chris Seto
parent 86cddc6a52
commit 77fdce9f3c
20 changed files with 1135 additions and 793 deletions
@@ -204,6 +204,9 @@ void fill_input_rc(uint16_t raw_rc_count, uint16_t raw_rc_values[input_rc_s::RC_
input_rc.rc_lost = (valid_chans == 0);
input_rc.rc_lost_frame_count = frame_drops;
input_rc.rc_total_frame_count = 0;
input_rc.link_quality = -1;
input_rc.rssi_dbm = NAN;
}
int start(int argc, char *argv[])