Skip to content

Commit 8db83a2

Browse files
committed
fixes some compile errors.
1 parent 0b1bd34 commit 8db83a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext_mod/lcd_bus/src/common/sw_rotate_task_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,5 @@ void mp_lcd_sw_rotate_task(void *self_in)
112112
}
113113
mp_lcd_lock_release(&handles->copy_lock);
114114

115-
LCD_DEBUG_PRINT(&mp_plat_print, "mp_lcd_sw_rotate_task - STOPPED\n")
115+
LCD_DEBUG_PRINT("mp_lcd_sw_rotate_task - STOPPED\n")
116116
}

ext_mod/lcd_bus/src/esp32/rgb_bus.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)self_in;
7575
mp_lcd_sw_rotation_init_t *init = &self->sw_rot.init;
7676

77-
free(self->sw_rot.data.buffers.active);
78-
self->sw_rot.data.buffers.active = NULL;
79-
self->sw_rot.data.buffers.idle = NULL;
77+
free(self->sw_rot.buffers.active);
78+
self->sw_rot.buffers.active = NULL;
79+
self->sw_rot.buffers.idle = NULL;
8080

8181
esp_lcd_rgb_panel_event_callbacks_t callbacks = { .on_vsync = rgb_trans_done_cb };
8282

0 commit comments

Comments
 (0)