Set all of the values to reset the radio for telemetry
authorKeith Packard <keithp@keithp.com>
Fri, 4 Sep 2009 19:25:37 +0000 (12:25 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 4 Sep 2009 19:25:37 +0000 (12:25 -0700)
commit15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
treed4934ad54cfa456224c005c3bd0bb5aae69c7969
parentfee46389b70a624ab5b1128a8b4c3083c7747bcb
Set all of the values to reset the radio for telemetry

Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
resetting the radio back to telemetry data mode from rdf mode. With
the length value removed from the rdf config, these two arrays are no
longer the same length, and so the last config value was not set
leaving the radio sending garbage.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_radio.c