add RSSI + disable equalizer when not needed - release

This commit is contained in:
Philippe G
2020-04-19 23:01:07 -07:00
parent e0e309c4ed
commit 014aa91fdd
4 changed files with 24 additions and 1 deletions

View File

@@ -183,7 +183,11 @@ static void sendSTAT(const char *event, u32_t server_timestamp) {
packN(&pkt.stream_buffer_size, status.stream_size);
packN(&pkt.bytes_received_H, (u64_t)status.stream_bytes >> 32);
packN(&pkt.bytes_received_L, (u64_t)status.stream_bytes & 0xffffffff);
#if EMBEDDED
packn(&pkt.signal_strength, get_RSSI());
#else
pkt.signal_strength = 0xffff;
#endif
packN(&pkt.jiffies, now);
packN(&pkt.output_buffer_size, status.output_size);
packN(&pkt.output_buffer_fullness, status.output_full);