Merge branch 'fix/rmt_simple_encoder_done_with_mem_full' into 'master'

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

Closes IDFGH-16195

See merge request espressif/esp-idf!41070
This commit is contained in:
morris
2025-08-11 14:01:57 +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;
}