Skip to content

Commit 359d34f

Browse files
committed
Fixed debugging print in RGB driver
1 parent b194c1a commit 359d34f

File tree

2 files changed

+75
-75
lines changed

2 files changed

+75
-75
lines changed

ext_mod/lcd_bus/esp32_src/rgb_bus.c

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -216,45 +216,45 @@
216216
self->panel_io_config.data_width = (size_t) i;
217217

218218
#if CONFIG_LCD_ENABLE_DEBUG_LOG
219-
printf("pclk_hz=%lu\n", self->bus_config.pclk_hz);
220-
printf("hsync_pulse_width=%lu\n", self->bus_config.hsync_pulse_width);
221-
printf("hsync_back_porch=%lu\n", self->bus_config.hsync_back_porch);
222-
printf("hsync_front_porch=%lu\n", self->bus_config.hsync_front_porch);
223-
printf("vsync_pulse_width=%lu\n", self->bus_config.vsync_pulse_width);
224-
printf("vsync_back_porch=%lu\n", self->bus_config.vsync_back_porch);
225-
printf("vsync_front_porch=%lu\n", self->bus_config.vsync_front_porch);
226-
printf("hsync_idle_low=%d\n", self->bus_config.flags.hsync_idle_low);
227-
printf("vsync_idle_low=%d\n", self->bus_config.flags.vsync_idle_low);
228-
printf("de_idle_high=%d\n", self->bus_config.flags.de_idle_high);
229-
printf("pclk_active_neg=%d\n", self->bus_config.flags.pclk_active_neg);
230-
printf("pclk_idle_high=%d\n", self->bus_config.flags.pclk_idle_high);
231-
printf("clk_src=%d\n", self->panel_io_config.clk_src);
232-
printf("hsync_gpio_num=%d\n", self->panel_io_config.hsync_gpio_num);
233-
printf("vsync_gpio_num=%d\n", self->panel_io_config.vsync_gpio_num);
234-
printf("de_gpio_num=%d\n", self->panel_io_config.de_gpio_num);
235-
printf("pclk_gpio_num=%d\n", self->panel_io_config.pclk_gpio_num);
236-
printf("data_gpio_nums[0]=%d\n", self->panel_io_config.data_gpio_nums[0]);
237-
printf("data_gpio_nums[1]=%d\n", self->panel_io_config.data_gpio_nums[1]);
238-
printf("data_gpio_nums[2]=%d\n", self->panel_io_config.data_gpio_nums[2]);
239-
printf("data_gpio_nums[3]=%d\n", self->panel_io_config.data_gpio_nums[3]);
240-
printf("data_gpio_nums[4]=%d\n", self->panel_io_config.data_gpio_nums[4]);
241-
printf("data_gpio_nums[5]=%d\n", self->panel_io_config.data_gpio_nums[5]);
242-
printf("data_gpio_nums[6]=%d\n", self->panel_io_config.data_gpio_nums[6]);
243-
printf("data_gpio_nums[7]=%d\n", self->panel_io_config.data_gpio_nums[7]);
244-
printf("data_gpio_nums[8]=%d\n", self->panel_io_config.data_gpio_nums[8]);
245-
printf("data_gpio_nums[9]=%d\n", self->panel_io_config.data_gpio_nums[9]);
246-
printf("data_gpio_nums[10]=%d\n", self->panel_io_config.data_gpio_nums[10]);
247-
printf("data_gpio_nums[11]=%d\n", self->panel_io_config.data_gpio_nums[11]);
248-
printf("data_gpio_nums[12]=%d\n", self->panel_io_config.data_gpio_nums[12]);
249-
printf("data_gpio_nums[13]=%d\n", self->panel_io_config.data_gpio_nums[13]);
250-
printf("data_gpio_nums[14]=%d\n", self->panel_io_config.data_gpio_nums[14]);
251-
printf("data_gpio_nums[15]=%d\n", self->panel_io_config.data_gpio_nums[15]);
252-
printf("sram_trans_align=%d\n", self->panel_io_config.sram_trans_align);
253-
printf("psram_trans_align=%d\n", self->panel_io_config.psram_trans_align);
254-
printf("refresh_on_demand=%d\n", self->panel_io_config.flags.refresh_on_demand);
255-
printf("fb_in_psram=%d\n", self->panel_io_config.flags.fb_in_psram);
256-
printf("double_fb=%d\n", self->panel_io_config.flags.double_fb);
257-
printf("data_width=%d\n", self->panel_io_config.data_width);
219+
mp_printf("pclk_hz=%lu\n", self->bus_config.pclk_hz);
220+
mp_printf("hsync_pulse_width=%lu\n", self->bus_config.hsync_pulse_width);
221+
mp_printf("hsync_back_porch=%lu\n", self->bus_config.hsync_back_porch);
222+
mp_printf("hsync_front_porch=%lu\n", self->bus_config.hsync_front_porch);
223+
mp_printf("vsync_pulse_width=%lu\n", self->bus_config.vsync_pulse_width);
224+
mp_printf("vsync_back_porch=%lu\n", self->bus_config.vsync_back_porch);
225+
mp_printf("vsync_front_porch=%lu\n", self->bus_config.vsync_front_porch);
226+
mp_printf("hsync_idle_low=%d\n", self->bus_config.flags.hsync_idle_low);
227+
mp_printf("vsync_idle_low=%d\n", self->bus_config.flags.vsync_idle_low);
228+
mp_printf("de_idle_high=%d\n", self->bus_config.flags.de_idle_high);
229+
mp_printf("pclk_active_neg=%d\n", self->bus_config.flags.pclk_active_neg);
230+
mp_printf("pclk_idle_high=%d\n", self->bus_config.flags.pclk_idle_high);
231+
mp_printf("clk_src=%d\n", self->panel_io_config.clk_src);
232+
mp_printf("hsync_gpio_num=%d\n", self->panel_io_config.hsync_gpio_num);
233+
mp_printf("vsync_gpio_num=%d\n", self->panel_io_config.vsync_gpio_num);
234+
mp_printf("de_gpio_num=%d\n", self->panel_io_config.de_gpio_num);
235+
mp_printf("pclk_gpio_num=%d\n", self->panel_io_config.pclk_gpio_num);
236+
mp_printf("data_gpio_nums[0]=%d\n", self->panel_io_config.data_gpio_nums[0]);
237+
mp_printf("data_gpio_nums[1]=%d\n", self->panel_io_config.data_gpio_nums[1]);
238+
mp_printf("data_gpio_nums[2]=%d\n", self->panel_io_config.data_gpio_nums[2]);
239+
mp_printf("data_gpio_nums[3]=%d\n", self->panel_io_config.data_gpio_nums[3]);
240+
mp_printf("data_gpio_nums[4]=%d\n", self->panel_io_config.data_gpio_nums[4]);
241+
mp_printf("data_gpio_nums[5]=%d\n", self->panel_io_config.data_gpio_nums[5]);
242+
mp_printf("data_gpio_nums[6]=%d\n", self->panel_io_config.data_gpio_nums[6]);
243+
mp_printf("data_gpio_nums[7]=%d\n", self->panel_io_config.data_gpio_nums[7]);
244+
mp_printf("data_gpio_nums[8]=%d\n", self->panel_io_config.data_gpio_nums[8]);
245+
mp_printf("data_gpio_nums[9]=%d\n", self->panel_io_config.data_gpio_nums[9]);
246+
mp_printf("data_gpio_nums[10]=%d\n", self->panel_io_config.data_gpio_nums[10]);
247+
mp_printf("data_gpio_nums[11]=%d\n", self->panel_io_config.data_gpio_nums[11]);
248+
mp_printf("data_gpio_nums[12]=%d\n", self->panel_io_config.data_gpio_nums[12]);
249+
mp_printf("data_gpio_nums[13]=%d\n", self->panel_io_config.data_gpio_nums[13]);
250+
mp_printf("data_gpio_nums[14]=%d\n", self->panel_io_config.data_gpio_nums[14]);
251+
mp_printf("data_gpio_nums[15]=%d\n", self->panel_io_config.data_gpio_nums[15]);
252+
mp_printf("sram_trans_align=%d\n", self->panel_io_config.sram_trans_align);
253+
mp_printf("psram_trans_align=%d\n", self->panel_io_config.psram_trans_align);
254+
mp_printf("refresh_on_demand=%d\n", self->panel_io_config.flags.refresh_on_demand);
255+
mp_printf("fb_in_psram=%d\n", self->panel_io_config.flags.fb_in_psram);
256+
mp_printf("double_fb=%d\n", self->panel_io_config.flags.double_fb);
257+
mp_printf("data_width=%d\n", self->panel_io_config.data_width);
258258
#endif
259259

260260
self->panel_io_handle.get_lane_count = &rgb_get_lane_count;
@@ -274,7 +274,7 @@
274274
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)obj;
275275

276276
#if CONFIG_LCD_ENABLE_DEBUG_LOG
277-
printf("rgb_del(self)\n");
277+
mp_printf("rgb_del(self)\n");
278278
#endif
279279

280280
mp_lcd_err_t ret = esp_lcd_panel_del(self->panel_handle);
@@ -287,7 +287,7 @@
287287
LCD_UNUSED(param);
288288

289289
#if CONFIG_LCD_ENABLE_DEBUG_LOG
290-
printf("rgb_rx_param(self, lcd_cmd=%d, param, param_size=%d)\n", lcd_cmd, param_size);
290+
mp_printf("rgb_rx_param(self, lcd_cmd=%d, param, param_size=%d)\n", lcd_cmd, param_size);
291291
#else
292292
LCD_UNUSED(lcd_cmd);
293293
LCD_UNUSED(param_size);
@@ -302,7 +302,7 @@
302302
LCD_UNUSED(param);
303303

304304
#if CONFIG_LCD_ENABLE_DEBUG_LOG
305-
printf("rgb_tx_param(self, lcd_cmd=%d, param, param_size=%d)\n", lcd_cmd, param_size);
305+
mp_printf("rgb_tx_param(self, lcd_cmd=%d, param, param_size=%d)\n", lcd_cmd, param_size);
306306
#else
307307
LCD_UNUSED(lcd_cmd);
308308
LCD_UNUSED(param_size);
@@ -327,13 +327,13 @@
327327
heap_caps_free(item_buf);
328328
self->view1 = NULL;
329329
#if CONFIG_LCD_ENABLE_DEBUG_LOG
330-
printf("rgb_free_framebuffer(self, buf=1)\n");
330+
mp_printf("rgb_free_framebuffer(self, buf=1)\n");
331331
#endif
332332
} else if (array_buf == self->view2) {
333333
heap_caps_free(item_buf);
334334
self->view2 = NULL;
335335
#if CONFIG_LCD_ENABLE_DEBUG_LOG
336-
printf("rgb_free_framebuffer(self, buf=2)\n");
336+
mp_printf("rgb_free_framebuffer(self, buf=2)\n");
337337
#endif
338338
} else {
339339
mp_raise_msg(&mp_type_MemoryError, MP_ERROR_TEXT("No matching buffer found"));
@@ -344,7 +344,7 @@
344344
mp_obj_t rgb_allocate_framebuffer(mp_obj_t obj, uint32_t size, uint32_t caps)
345345
{
346346
#if CONFIG_LCD_ENABLE_DEBUG_LOG
347-
printf("rgb_allocate_framebuffer(self, size=%lu, caps=%lu)\n", size, caps);
347+
mp_printf("rgb_allocate_framebuffer(self, size=%lu, caps=%lu)\n", size, caps);
348348
#endif
349349

350350
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)obj;
@@ -380,7 +380,7 @@
380380
LCD_UNUSED(cmd_bits);
381381
LCD_UNUSED(param_bits);
382382
#if CONFIG_LCD_ENABLE_DEBUG_LOG
383-
printf("rgb_init(self, width=%i, height=%i, bpp=%d, buffer_size=%lu, rgb565_byte_swap=%d)\n", width, height, bpp, buffer_size, rgb565_byte_swap);
383+
mp_printf("rgb_init(self, width=%i, height=%i, bpp=%d, buffer_size=%lu, rgb565_byte_swap=%d)\n", width, height, bpp, buffer_size, rgb565_byte_swap);
384384
#endif
385385
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)obj;
386386

@@ -422,10 +422,10 @@
422422
self->panel_io_config.flags.double_fb = 1;
423423

424424
#if CONFIG_LCD_ENABLE_DEBUG_LOG
425-
printf("h_res=%lu\n", self->panel_io_config.timings.h_res);
426-
printf("v_res=%lu\n", self->panel_io_config.timings.v_res);
427-
printf("bits_per_pixel=%d\n", self->panel_io_config.bits_per_pixel);
428-
printf("rgb565_byte_swap=%d\n", self->rgb565_byte_swap);
425+
mp_printf("h_res=%lu\n", self->panel_io_config.timings.h_res);
426+
mp_printf("v_res=%lu\n", self->panel_io_config.timings.v_res);
427+
mp_printf("bits_per_pixel=%d\n", self->panel_io_config.bits_per_pixel);
428+
mp_printf("rgb565_byte_swap=%d\n", self->rgb565_byte_swap);
429429
#endif
430430
mp_lcd_err_t ret = esp_lcd_new_rgb_panel(&self->panel_io_config, &self->panel_handle);
431431
if (ret != 0) {
@@ -478,7 +478,7 @@
478478
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)obj;
479479
*lane_count = (uint8_t)self->panel_io_config.data_width;
480480
#if CONFIG_LCD_ENABLE_DEBUG_LOG
481-
printf("rgb_get_lane_count(self)-> %d\n", (uint8_t)self->panel_io_config.data_width);
481+
mp_printf("rgb_get_lane_count(self)-> %d\n", (uint8_t)self->panel_io_config.data_width);
482482
#endif
483483

484484
return LCD_OK;
@@ -488,7 +488,7 @@
488488
mp_lcd_err_t rgb_tx_color(mp_obj_t obj, int lcd_cmd, void *color, size_t color_size, int x_start, int y_start, int x_end, int y_end, uint8_t rotation, bool last_update)
489489
{
490490
#if CONFIG_LCD_ENABLE_DEBUG_LOG
491-
printf("rgb_tx_color(self, lcd_cmd=%d, color, color_size=%d, x_start=%d, y_start=%d, x_end=%d, y_end=%d)\n", lcd_cmd, color_size, x_start, y_start, x_end, y_end);
491+
mp_printf("rgb_tx_color(self, lcd_cmd=%d, color, color_size=%d, x_start=%d, y_start=%d, x_end=%d, y_end=%d)\n", lcd_cmd, color_size, x_start, y_start, x_end, y_end);
492492
#endif
493493

494494
LCD_UNUSED(color_size);

ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
void rgb_bus_event_init(rgb_bus_event_t *event)
2828
{
2929
#if CONFIG_LCD_ENABLE_DEBUG_LOG
30-
printf("rgb_bus_event_init\n");
30+
mp_printf("rgb_bus_event_init\n");
3131
#endif
3232
event->handle = xEventGroupCreateStatic(&event->buffer);
3333
}
@@ -36,7 +36,7 @@
3636
void rgb_bus_event_delete(rgb_bus_event_t *event)
3737
{
3838
#if CONFIG_LCD_ENABLE_DEBUG_LOG
39-
printf("rgb_bus_event_delete\n");
39+
mp_printf("rgb_bus_event_delete\n");
4040
#endif
4141
xEventGroupSetBits(event->handle, RGB_BIT_0);
4242
vEventGroupDelete(event->handle);
@@ -47,7 +47,7 @@
4747
bool rgb_bus_event_isset(rgb_bus_event_t *event)
4848
{
4949
#if CONFIG_LCD_ENABLE_DEBUG_LOG
50-
printf("rgb_bus_event_isset\n");
50+
mp_printf("rgb_bus_event_isset\n");
5151
#endif
5252
return (bool)(xEventGroupGetBits(event->handle) & RGB_BIT_0);
5353
}
@@ -62,7 +62,7 @@
6262
void rgb_bus_event_set(rgb_bus_event_t *event)
6363
{
6464
#if CONFIG_LCD_ENABLE_DEBUG_LOG
65-
printf("rgb_bus_event_set\n");
65+
mp_printf("rgb_bus_event_set\n");
6666
#endif
6767
xEventGroupSetBits(event->handle, RGB_BIT_0);
6868
}
@@ -71,7 +71,7 @@
7171
void rgb_bus_event_clear(rgb_bus_event_t *event)
7272
{
7373
#if CONFIG_LCD_ENABLE_DEBUG_LOG
74-
printf("rgb_bus_event_clear\n");
74+
mp_printf("rgb_bus_event_clear\n");
7575
#endif
7676
xEventGroupClearBits(event->handle, RGB_BIT_0);
7777
}
@@ -90,7 +90,7 @@
9090
int rgb_bus_lock_acquire(rgb_bus_lock_t *lock, int32_t wait_ms)
9191
{
9292
#if CONFIG_LCD_ENABLE_DEBUG_LOG
93-
printf("rgb_bus_lock_acquire\n");
93+
mp_printf("rgb_bus_lock_acquire\n");
9494
#endif
9595
return pdTRUE == xSemaphoreTake(lock->handle, wait_ms < 0 ? portMAX_DELAY : pdMS_TO_TICKS((uint16_t)wait_ms));
9696
}
@@ -99,7 +99,7 @@
9999
void rgb_bus_lock_release(rgb_bus_lock_t *lock)
100100
{
101101
#if CONFIG_LCD_ENABLE_DEBUG_LOG
102-
printf("rgb_bus_lock_release\n");
102+
mp_printf("rgb_bus_lock_release\n");
103103
#endif
104104
xSemaphoreGive(lock->handle);
105105
}
@@ -114,7 +114,7 @@
114114
void rgb_bus_lock_init(rgb_bus_lock_t *lock)
115115
{
116116
#if CONFIG_LCD_ENABLE_DEBUG_LOG
117-
printf("rgb_bus_lock_init\n");
117+
mp_printf("rgb_bus_lock_init\n");
118118
#endif
119119
lock->handle = xSemaphoreCreateBinaryStatic(&lock->buffer);
120120
xSemaphoreGive(lock->handle);
@@ -124,7 +124,7 @@
124124
void rgb_bus_lock_delete(rgb_bus_lock_t *lock)
125125
{
126126
#if CONFIG_LCD_ENABLE_DEBUG_LOG
127-
printf("rgb_bus_lock_delete\n");
127+
mp_printf("rgb_bus_lock_delete\n");
128128
#endif
129129
vSemaphoreDelete(lock->handle);
130130
}
@@ -165,7 +165,7 @@
165165

166166
void rgb_bus_copy_task(void *self_in) {
167167
#if CONFIG_LCD_ENABLE_DEBUG_LOG
168-
printf("rgb_bus_copy_task - STARTED\n");
168+
mp_printf("rgb_bus_copy_task - STARTED\n");
169169
#endif
170170

171171
mp_lcd_rgb_bus_obj_t *self = (mp_lcd_rgb_bus_obj_t *)self_in;
@@ -195,13 +195,13 @@
195195
while (!exit) {
196196
rgb_bus_lock_acquire(&self->copy_lock, -1);
197197
#if CONFIG_LCD_ENABLE_DEBUG_LOG
198-
printf("!rgb_bus_event_isset(&self->copy_task_exit)\n");
198+
mp_printf("!rgb_bus_event_isset(&self->copy_task_exit)\n");
199199
#endif
200200

201201
if (rgb_bus_event_isset(&self->partial_copy)) {
202202
rgb_bus_event_clear(&self->partial_copy);
203203
#if CONFIG_LCD_ENABLE_DEBUG_LOG
204-
printf("rgb_bus_event_isset(&self->partial_copy)\n");
204+
mp_printf("rgb_bus_event_isset(&self->partial_copy)\n");
205205
#endif
206206

207207

@@ -231,18 +231,18 @@
231231
if (nlr_push(&nlr) == 0) {
232232

233233
#if CONFIG_LCD_ENABLE_DEBUG_LOG
234-
printf("mp_call_function_n_kw(1)\n");
234+
mp_printf("mp_call_function_n_kw(1)\n");
235235
#endif
236236

237237
mp_call_function_n_kw(self->callback, 0, 0, NULL);
238238

239239
#if CONFIG_LCD_ENABLE_DEBUG_LOG
240-
printf("mp_call_function_n_kw(2)\n");
240+
mp_printf("mp_call_function_n_kw(2)\n");
241241
#endif
242242

243243
nlr_pop();
244244
} else {
245-
ets_printf("Uncaught exception in IRQ callback handler!\n");
245+
ets_mp_printf("Uncaught exception in IRQ callback handler!\n");
246246
mp_obj_print_exception(&mp_plat_print, MP_OBJ_FROM_PTR(nlr.ret_val));
247247
}
248248

@@ -256,7 +256,7 @@
256256
if (rgb_bus_event_isset(&self->last_update)) {
257257
rgb_bus_event_clear(&self->last_update);
258258
#if CONFIG_LCD_ENABLE_DEBUG_LOG
259-
printf("rgb_bus_event_isset(&self->last_update)\n");
259+
mp_printf("rgb_bus_event_isset(&self->last_update)\n");
260260
#endif
261261

262262
uint8_t *idle_fb = self->idle_fb;
@@ -272,7 +272,7 @@
272272
);
273273

274274
if (ret != 0) {
275-
printf("esp_lcd_panel_draw_bitmap error (%d)\n", ret);
275+
mp_printf("esp_lcd_panel_draw_bitmap error (%d)\n", ret);
276276
} else {
277277
rgb_bus_lock_acquire(&self->swap_lock, -1);
278278
memcpy(self->idle_fb, self->active_fb, self->width * self->height * bytes_per_pixel);
@@ -298,7 +298,7 @@
298298
uint8_t rotate
299299
) {
300300
#if CONFIG_LCD_ENABLE_DEBUG_LOG
301-
printf("copy_pixels(to, from, x_start=%lu, y_start=%lu, x_end=%lu, y_end=%lu, h_res=%lu, v_res=%lu, bytes_per_pixel=%lu, func, rotate=%u)\n",
301+
mp_printf("copy_pixels(to, from, x_start=%lu, y_start=%lu, x_end=%lu, y_end=%lu, h_res=%lu, v_res=%lu, bytes_per_pixel=%lu, func, rotate=%u)\n",
302302
x_start, y_start, x_end, y_end, h_res, v_res, bytes_per_pixel, rotate);
303303
#endif
304304
if (rotate == RGB_BUS_ROTATION_90 || rotate == RGB_BUS_ROTATION_270) {
@@ -319,14 +319,14 @@
319319
size_t offset = y_start * copy_bytes_per_line + x_start * bytes_per_pixel;
320320

321321
#if CONFIG_LCD_ENABLE_DEBUG_LOG
322-
printf("x_start=%lu, y_start=%lu, x_end=%lu, y_end=%lu, copy_bytes_per_line=%hu, bytes_per_line=%lu, offset=%d\n",
322+
mp_printf("x_start=%lu, y_start=%lu, x_end=%lu, y_end=%lu, copy_bytes_per_line=%hu, bytes_per_line=%lu, offset=%d\n",
323323
x_start, y_start, x_end, y_end, copy_bytes_per_line, bytes_per_line, offset);
324324
#endif
325325

326326
switch (rotate) {
327327
case RGB_BUS_ROTATION_0:
328328
#if CONFIG_LCD_ENABLE_DEBUG_LOG
329-
printf("RGB_BUS_ROTATION_0\n");
329+
mp_printf("RGB_BUS_ROTATION_0\n");
330330
#endif
331331
uint8_t *fb = to + (y_start * h_res + x_start) * bytes_per_pixel;
332332

@@ -343,7 +343,7 @@
343343
break;
344344
case RGB_BUS_ROTATION_180:
345345
#if CONFIG_LCD_ENABLE_DEBUG_LOG
346-
printf("RGB_BUS_ROTATION_180\n");
346+
mp_printf("RGB_BUS_ROTATION_180\n");
347347
#endif
348348
uint32_t index;
349349
for (int y = y_start; y < y_end; y++) {
@@ -359,7 +359,7 @@
359359

360360
case RGB_BUS_ROTATION_90:
361361
#if CONFIG_LCD_ENABLE_DEBUG_LOG
362-
printf("RGB_BUS_ROTATION_90\n");
362+
mp_printf("RGB_BUS_ROTATION_90\n");
363363
#endif
364364
uint32_t j;
365365
uint32_t i;
@@ -375,7 +375,7 @@
375375

376376
case RGB_BUS_ROTATION_270:
377377
#if CONFIG_LCD_ENABLE_DEBUG_LOG
378-
printf("RGB_BUS_ROTATION_270\n");
378+
mp_printf("RGB_BUS_ROTATION_270\n");
379379
#endif
380380
uint32_t jj;
381381
uint32_t ii;

0 commit comments

Comments
 (0)