mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 10:30:58 +02:00
Merge branch 'fix/rmt_simple_encoder_done_with_mem_full_v5.3' into 'release/v5.3'
fix(rmt): fix the state of simple encoder with mem full (v5.3) See merge request espressif/esp-idf!41245
This commit is contained in:
@@ -372,7 +372,8 @@ static size_t IRAM_ATTR rmt_encode_simple(rmt_encoder_t *encoder, rmt_channel_ha
|
||||
// reset internal index if encoding session has finished
|
||||
simple_encoder->last_symbol_index = 0;
|
||||
state |= RMT_ENCODING_COMPLETE;
|
||||
} else {
|
||||
}
|
||||
if (tx_chan->mem_off >= tx_chan->mem_end) {
|
||||
// no more free memory, the caller should yield
|
||||
state |= RMT_ENCODING_MEM_FULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user