Fix copy/paste error in RMT
Fixes: https://github.com/espressif/arduino-esp32/issues/2316
This commit is contained in:
parent
81844f5360
commit
6cf307dbd1
@ -156,7 +156,7 @@ bool rmtSetCarrier(rmt_obj_t* rmt, bool carrier_en, bool carrier_level, uint32_t
|
|||||||
RMT_MUTEX_LOCK(channel);
|
RMT_MUTEX_LOCK(channel);
|
||||||
|
|
||||||
RMT.carrier_duty_ch[channel].low = low;
|
RMT.carrier_duty_ch[channel].low = low;
|
||||||
RMT.carrier_duty_ch[channel].low = high;
|
RMT.carrier_duty_ch[channel].high = high;
|
||||||
RMT.conf_ch[channel].conf0.carrier_en = carrier_en;
|
RMT.conf_ch[channel].conf0.carrier_en = carrier_en;
|
||||||
RMT.conf_ch[channel].conf0.carrier_out_lv = carrier_level;
|
RMT.conf_ch[channel].conf0.carrier_out_lv = carrier_level;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user