Move configure_rmt() into setup() (#2028)

This commit is contained in:
WeekendWarrior1 2021-07-26 17:32:08 +10:00 committed by Otto winter
parent 7828f48b9a
commit 790d6ef94c
No known key found for this signature in database
GPG key ID: 48ED2DDB96D7682C

View file

@ -9,7 +9,7 @@ namespace remote_transmitter {
static const char *const TAG = "remote_transmitter"; static const char *const TAG = "remote_transmitter";
void RemoteTransmitterComponent::setup() {} void RemoteTransmitterComponent::setup() { this->configure_rmt(); }
void RemoteTransmitterComponent::dump_config() { void RemoteTransmitterComponent::dump_config() {
ESP_LOGCONFIG(TAG, "Remote Transmitter..."); ESP_LOGCONFIG(TAG, "Remote Transmitter...");