mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 15:04:54 +01:00
another clang issue
This commit is contained in:
parent
0efa34f32f
commit
2d64411a65
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
#include "ebus_component.h"
|
#include "ebus_component.h"
|
||||||
|
|
||||||
|
#include "esphome/core/helpers.h"
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace ebus {
|
namespace ebus {
|
||||||
|
|
||||||
|
@ -49,7 +51,7 @@ void EbusComponent::setup_queues_() {
|
||||||
this->command_queue_ = xQueueCreate(this->command_queue_size_, sizeof(Telegram));
|
this->command_queue_ = xQueueCreate(this->command_queue_size_, sizeof(Telegram));
|
||||||
}
|
}
|
||||||
void EbusComponent::setup_ebus_() {
|
void EbusComponent::setup_ebus_() {
|
||||||
this->ebus_ = std::unique_ptr<Ebus>(new Ebus());
|
this->ebus_ = make_unique<Ebus>();
|
||||||
this->ebus_->set_primary_address(this->primary_address_);
|
this->ebus_->set_primary_address(this->primary_address_);
|
||||||
this->ebus_->set_max_tries(this->max_tries_);
|
this->ebus_->set_max_tries(this->max_tries_);
|
||||||
this->ebus_->set_max_lock_counter(this->max_lock_counter_);
|
this->ebus_->set_max_lock_counter(this->max_lock_counter_);
|
||||||
|
|
Loading…
Reference in a new issue