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:
Thomas Basler 2024-10-06 11:08:10 +02:00
parent d3d96b51ce
commit 2659204d96

View File

@ -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;