Closed Elpablito closed 3 months ago
Reproduced in automatic builds. Need to be fixed
The warning has been fixed in pre-0.3.12.
For esp32 just have commented the instruction out - seems to work. For esp32 derivates replaced with rmt_tx_memory_reset()
.
I am reporting for yuor information a log of platformIO StepperISR_esp32_rmt.cpp 2
if (!q->_isRunning) { // second invocation to stop. rmt_tx_stop(q->channel); rmt_rx_stop(q->channel); rmt_memory_rw_rst(q->channel); q->_rmtStopped = true; }
[{ "resource": "/c:/Users/gsrad/Documents/Lavori_con_Platform/ESP32 Nema23 Test/lib/FastAccelStepper/src/StepperISR_esp32_rmt.cpp", "owner": "cpp", "severity": 4, "message": "'esp_err_t rmt_memory_rw_rst(rmt_channel_t)' is deprecated: use rmt_tx_memory_reset or rmt_rx_memory_reset instead [-Wdeprecated-declarations]", "startLineNumber": 283, "startColumn": 28, "endLineNumber": 283, "endColumn": 28 }]