mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-20 09:26:37 +00:00
don't report radio link every second, even when debugging packetradio.
every 30sec is enough.
This commit is contained in:
parent
0cbebedc77
commit
da32f6e6cd
2
slip.c
2
slip.c
@ -168,7 +168,7 @@ int parse_rfd900_rssi(char *s)
|
||||
last_radio_temperature=temp;
|
||||
last_radio_rxpackets=rxpackets;
|
||||
|
||||
if (config.debug.packetradio||(gettime_ms()-last_rssi_time>30000)) {
|
||||
if (gettime_ms()-last_rssi_time>30000) {
|
||||
INFOF("Link budget = %+ddB, temperature=%dC",maxmargin,temp);
|
||||
last_rssi_time=gettime_ms();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user