ESP32 Rx fixes - (v2) ESP8266 & ESP32 UART optimizations #398

This commit is contained in:
proddy
2020-08-20 20:40:08 +02:00
parent 6c1a2940c8
commit 61abd930b5
3 changed files with 17 additions and 11 deletions

View File

@@ -52,8 +52,6 @@ static constexpr uint8_t EMS_MAX_TELEGRAM_MESSAGE_LENGTH = 27; // max length of
namespace emsesp {
// creates a telegram
// from Rx (receiving one) or Tx for preparing one for sending
class Telegram {
public:
Telegram(const uint8_t operation,
@@ -198,6 +196,8 @@ class RxService : public EMSbus {
RxService() = default;
~RxService() = default;
void loop();
void add(uint8_t * data, uint8_t length);
uint16_t telegram_count() const {