mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
DS18S20 fix, sensors right align with 1 decimal, telegram counter 32 bit
This commit is contained in:
@@ -219,6 +219,7 @@ void RxService::add(uint8_t * data, uint8_t length) {
|
||||
// check if queue is full, if so remove top item to make space
|
||||
if (rx_telegrams_.size() >= MAX_RX_TELEGRAMS) {
|
||||
rx_telegrams_.pop_front();
|
||||
increment_telegram_error_count();
|
||||
}
|
||||
|
||||
rx_telegrams_.emplace_back(rx_telegram_id_++, std::move(telegram)); // add to queue
|
||||
|
||||
Reference in New Issue
Block a user