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

This commit is contained in:
WeekendWarrior1 2021-07-26 17:32:08 +10:00 committed by GitHub
parent 1dd43a75f2
commit a34d5e3901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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...");