mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
fix(remote_receiver): Add missing pin setup for ESP32 (#1252)
This commit is contained in:
parent
99598d87a9
commit
e3a6c9a6cf
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ static const char *TAG = "remote_receiver.esp32";
|
||||||
|
|
||||||
void RemoteReceiverComponent::setup() {
|
void RemoteReceiverComponent::setup() {
|
||||||
ESP_LOGCONFIG(TAG, "Setting up Remote Receiver...");
|
ESP_LOGCONFIG(TAG, "Setting up Remote Receiver...");
|
||||||
|
this->pin_->setup();
|
||||||
rmt_config_t rmt{};
|
rmt_config_t rmt{};
|
||||||
this->config_rmt(rmt);
|
this->config_rmt(rmt);
|
||||||
rmt.gpio_num = gpio_num_t(this->pin_->get_pin());
|
rmt.gpio_num = gpio_num_t(this->pin_->get_pin());
|
||||||
|
|
Loading…
Reference in a new issue