Skip to content

Commit ca3c258

Browse files
committed
compiler warning fix
1 parent 918050e commit ca3c258

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

builder/esp32.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def __init__(self, size):
4343
if not os.path.exists('build'):
4444
os.mkdir('build')
4545

46-
self.save_file_path = f'{SCRIPT_DIR}/build/partitions-{flash_size}MiB.csv'
46+
self.save_file_path = (
47+
f'{SCRIPT_DIR}/build/partitions-{flash_size}MiB.'
48+
)
4749
self.first_offset = 0x9000
4850
self.nvs = 0x6000
4951
self.phy_init = 0x1000

ext_mod/lcd_bus/esp32_src/rgb_bus.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@
9494
IRAM_ATTR static bool rgb_bus_trans_done_cb(esp_lcd_panel_handle_t panel, const esp_lcd_rgb_panel_event_data_t *edata, void *user_ctx)
9595
{
9696
LCD_UNUSED(edata);
97-
rgb_panel_t *rgb_panel = __containerof(panel, rgb_panel_t, base);
97+
LCD_UNUSED(panel);
98+
99+
// rgb_panel_t *rgb_panel = __containerof(panel, rgb_panel_t, base);
98100

99101
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)user_ctx;
100102
bool ret = false;

0 commit comments

Comments
 (0)