From 1deae7600798ac43e7bfde12c1e94dcf1aa43f5a Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 30 Jun 2023 14:14:37 -0500 Subject: [PATCH] run clang-format --- src/arch/esp32-s3.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/arch/esp32-s3.h b/src/arch/esp32-s3.h index 7dbf0e1..3ae3d6c 100644 --- a/src/arch/esp32-s3.h +++ b/src/arch/esp32-s3.h @@ -160,7 +160,6 @@ IRAM_ATTR static void blast_byte(Protomatter_core *core, uint8_t *data) { // See notes near top of this file for what's done with this info. } - void _PM_timerInit(Protomatter_core *core) { // On S3, initialize the LCD_CAM peripheral and DMA. @@ -236,7 +235,7 @@ void _PM_timerInit(Protomatter_core *core) { .direction = GDMA_CHANNEL_DIRECTION_TX, .flags = {.reserve_sibling = 0}}; esp_err_t ret = gdma_new_channel(&dma_chan_config, &dma_chan); - (void) ret; + (void)ret; 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}; @@ -291,7 +290,6 @@ IRAM_ATTR static void blast_byte(Protomatter_core *core, uint8_t *data) { // See notes near top of this file for what's done with this info. } - static void _PM_timerInit(Protomatter_core *core) { // TO DO: adapt this function for any CircuitPython-specific changes.