mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
changed comments
This commit is contained in:
@@ -285,7 +285,7 @@ class RxService : public EMSbus {
|
||||
const std::shared_ptr<const Telegram> telegram_;
|
||||
|
||||
~QueuedRxTelegram() = default;
|
||||
// TODO check if still works without std::shared_ptr<Telegram> && telegram
|
||||
// removed && from telegram in 3.7.0-dev.43
|
||||
QueuedRxTelegram(uint16_t id, std::shared_ptr<Telegram> telegram)
|
||||
: id_(id)
|
||||
, telegram_(std::move(telegram)) {
|
||||
@@ -415,7 +415,7 @@ class TxService : public EMSbus {
|
||||
const uint16_t validateid_;
|
||||
|
||||
~QueuedTxTelegram() = default;
|
||||
// TODO test this refactor, removing && from std::shared_ptr<Telegram> && telegram
|
||||
// replaced && im std::shared_ptr<Telegram> telegram in 3.7.0-dev.43
|
||||
QueuedTxTelegram(uint16_t id, std::shared_ptr<Telegram> telegram, bool retry, uint16_t validateid)
|
||||
: id_(id)
|
||||
, telegram_(std::move(telegram))
|
||||
|
||||
Reference in New Issue
Block a user