Correctly invert esp32 RMT TX (#2022)

This commit is contained in:
WeekendWarrior1
2021-07-26 17:20:02 +10:00
committed by GitHub
parent 1f5cbca509
commit 1dd43a75f2
2 changed files with 4 additions and 2 deletions
@@ -41,6 +41,7 @@ class RemoteTransmitterComponent : public remote_base::RemoteTransmitterBase,
bool initialized_{false};
std::vector<rmt_item32_t> rmt_temp_;
esp_err_t error_code_{ESP_OK};
bool inverted_{false};
#endif
uint8_t carrier_duty_percent_{50};
};