mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
lint
This commit is contained in:
parent
89066c374e
commit
b584d2b81e
1 changed files with 4 additions and 4 deletions
|
@ -51,10 +51,10 @@ class ModemComponent : public Component {
|
|||
void set_use_address(const std::string &use_address);
|
||||
void set_rx_pin(gpio_num_t rx_pin) { this->rx_pin_ = rx_pin; }
|
||||
void set_tx_pin(gpio_num_t tx_pin) { this->tx_pin_ = tx_pin; }
|
||||
void set_username(const std::string &username) { this->username_ = std::move(username); }
|
||||
void set_password(const std::string &password) { this->password_ = std::move(password); }
|
||||
void set_pin_code(const std::string &pin_code) { this->pin_code_ = std::move(pin_code); }
|
||||
void set_apn(const std::string &apn) { this->apn_ = std::move(apn); }
|
||||
void set_username(const std::string &username) { this->username_ = username; }
|
||||
void set_password(const std::string &password) { this->password_ = password; }
|
||||
void set_pin_code(const std::string &pin_code) { this->pin_code_ = pin_code; }
|
||||
void set_apn(const std::string &apn) { this->apn_ = apn; }
|
||||
void set_model(const std::string &model) {
|
||||
this->model_ = this->modem_model_map_.count(model) ? modem_model_map_[model] : ModemModel::UNKNOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue