Initialize the last rssi value with -127 instead of 0 to indicate a non existing connection of no data was received yet
This commit is contained in:
parent
d3d96b51ce
commit
2659204d96
@ -133,7 +133,7 @@ private:
|
||||
bool _zeroYieldDayOnMidnight = false;
|
||||
bool _clearEventlogOnMidnight = false;
|
||||
|
||||
int8_t _lastRssi = 0;
|
||||
int8_t _lastRssi = -127;
|
||||
|
||||
std::unique_ptr<AlarmLogParser> _alarmLogParser;
|
||||
std::unique_ptr<DevInfoParser> _devInfoParser;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user