Remove extra stuff from refactor

This commit is contained in:
Scott Shawcroft 2025-08-25 12:07:12 -07:00
parent dbd84325c7
commit 9c45cfb0e4
No known key found for this signature in database

View file

@ -259,12 +259,7 @@ static void _PM_timerInit(Protomatter_core *core) {
.sibling_chan = NULL,
.direction = GDMA_CHANNEL_DIRECTION_TX,
.flags = {.reserve_sibling = 0}};
#if defined(ARDUINO)
esp_err_t ret = gdma_new_channel(&dma_chan_config, &dma_chan);
(void)ret;
#elif defined(CIRCUITPY)
gdma_new_channel(&dma_chan_config, &dma_chan);
#endif
gdma_new_channel(&dma_chan_config, &dma_chan);
gdma_connect(dma_chan, GDMA_MAKE_TRIGGER(GDMA_TRIG_PERIPH_LCD, 0));
gdma_strategy_config_t strategy_config = {.owner_check = false,
.auto_update_desc = false};
@ -287,10 +282,4 @@ static void _PM_timerInit(Protomatter_core *core) {
_PM_esp32commonTimerInit(core); // In esp32-common.h
}
#if defined(ARDUINO) // COMPILING FOR ARDUINO ------------------------------
#elif defined(CIRCUITPY) // COMPILING FOR CIRCUITPYTHON --------------------
#endif // END CIRCUITPYTHON ------------------------------------------------
#endif // END ESP32S3