Merge branch 'fix/rmt_simple_encoder_done_with_mem_full_v5.5' into 'release/v5.5'

fix(rmt): fix the state of simple encoder with mem full (v5.5)

See merge request espressif/esp-idf!41243
This commit is contained in:
morris
2025-08-19 15:06:01 +08:00

View File

@@ -150,7 +150,8 @@ static size_t rmt_encode_simple(rmt_encoder_t *encoder, rmt_channel_handle_t cha
// reset internal index if encoding session has finished
simple_encoder->last_symbol_index = 0;
state |= RMT_ENCODING_COMPLETE;
} else {
}
if (symbol_off >= tx_chan->mem_end) {
// no more free memory, the caller should yield
state |= RMT_ENCODING_MEM_FULL;
}