summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6f231a3)
Pull the RSSI data out locally and set the RSSI led blinking when
using the variable-length TELEM output mechanism.
Signed-off-by: Keith Packard <keithp@keithp.com>
printf("%02x", byte);
}
printf("%02x\n", sum);
printf("%02x", byte);
}
printf("%02x\n", sum);
+ if (recv_raw.packet[ao_monitoring + 1] & PKT_APPEND_STATUS_1_CRC_OK) {
+ rssi = ((int16_t) recv_raw.packet[ao_monitoring] >> 1) - 74;
+ ao_rssi_set(rssi);
+ }