mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 09:20:34 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user