Remove extra stuff from refactor
This commit is contained in:
parent
dbd84325c7
commit
9c45cfb0e4
1 changed files with 1 additions and 12 deletions
|
|
@ -259,12 +259,7 @@ static void _PM_timerInit(Protomatter_core *core) {
|
||||||
.sibling_chan = NULL,
|
.sibling_chan = NULL,
|
||||||
.direction = GDMA_CHANNEL_DIRECTION_TX,
|
.direction = GDMA_CHANNEL_DIRECTION_TX,
|
||||||
.flags = {.reserve_sibling = 0}};
|
.flags = {.reserve_sibling = 0}};
|
||||||
#if defined(ARDUINO)
|
gdma_new_channel(&dma_chan_config, &dma_chan);
|
||||||
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_connect(dma_chan, GDMA_MAKE_TRIGGER(GDMA_TRIG_PERIPH_LCD, 0));
|
gdma_connect(dma_chan, GDMA_MAKE_TRIGGER(GDMA_TRIG_PERIPH_LCD, 0));
|
||||||
gdma_strategy_config_t strategy_config = {.owner_check = false,
|
gdma_strategy_config_t strategy_config = {.owner_check = false,
|
||||||
.auto_update_desc = false};
|
.auto_update_desc = false};
|
||||||
|
|
@ -287,10 +282,4 @@ static void _PM_timerInit(Protomatter_core *core) {
|
||||||
_PM_esp32commonTimerInit(core); // In esp32-common.h
|
_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
|
#endif // END ESP32S3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue