[remote_transmitter] Change default carrier_frequency to valid value (#7176)

set current_carrier_frequency_ default value to esp-idf's default (38000)
This commit is contained in:
iannisimo 2024-08-07 01:02:30 +02:00 committed by GitHub
parent da0dbe8753
commit 1e63fddf36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ class RemoteTransmitterComponent : public remote_base::RemoteTransmitterBase,
#ifdef USE_ESP32
void configure_rmt_();
uint32_t current_carrier_frequency_{UINT32_MAX};
uint32_t current_carrier_frequency_{38000};
bool initialized_{false};
std::vector<rmt_item32_t> rmt_temp_;
esp_err_t error_code_{ESP_OK};