mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Update hbridge_switch.cpp
This commit is contained in:
parent
5dc5fec76b
commit
663effab8d
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ void HBridgeSwitch::dump_config() {
|
|||
LOG_SWITCH("", "H-Bridge Switch", this);
|
||||
LOG_PIN(" On Pin: ", this->on_pin_);
|
||||
LOG_PIN(" Off Pin: ", this->off_pin_);
|
||||
ESP_LOGCONFIG(TAG, " Pulse length: %d ms", this->pulse_length_);
|
||||
ESP_LOGCONFIG(TAG, " Pulse length: %" PRId32 " ms", this->pulse_length_);
|
||||
if (this->wait_time_)
|
||||
ESP_LOGCONFIG(TAG, " Wait time %d ms", this->wait_time_);
|
||||
ESP_LOGCONFIG(TAG, " Wait time %" PRId32 " ms", this->wait_time_);
|
||||
}
|
||||
|
||||
void HBridgeSwitch::write_state(bool state) {
|
||||
|
|
Loading…
Reference in a new issue