Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0256e2c

Browse files
committed
Revert "Big update"
This reverts commit89bb84d.
1 parente9ef08e commit0256e2c

File tree

18 files changed

+137
-808
lines changed

18 files changed

+137
-808
lines changed

‎api_drivers/py_api_drivers/frozen/display/display_driver_framework.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
importmicropython# NOQA
1+
importmicropython
22
importtime
33
importgc
4-
importmachine# NOQA
5-
frommicropythonimportconst# NOQA
4+
importmachine
5+
frommicropythonimportconst
66

77
importlvglaslv# NOQA
88
importlcd_bus
@@ -620,7 +620,7 @@ def _flush_cb(self, _, area, color_p):
620620
# gets emptied. Everything is handeled internally in the bus driver if
621621
# using DMA and double buffer or a single buffer.
622622

623-
def_flush_ready_cb(self,*_):
623+
def_flush_ready_cb(self):
624624
self._disp_drv.flush_ready()
625625

626626
def_madctl(self,colormode,rotations,rotation=None):

‎ext_mod/lcd_bus/common_include/i2c_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
void*buf1;
1818
void*buf2;
19-
uint32_tbuffer_flags;
2019

2120
booltrans_done;
2221
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/common_include/i80_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
void*buf1;
2323
void*buf2;
24-
uint32_tbuffer_flags;
2524

2625
booltrans_done;
2726
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/common_include/rgb_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
void*buf1;
1818
void*buf2;
19-
uint32_tbuffer_flags;
2019

2120
booltrans_done;
2221
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/common_include/spi_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
void*buf1;
2222
void*buf2;
23-
uint32_tbuffer_flags;
2423

2524
booltrans_done;
2625
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/esp32_include/i2c_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
void*buf1;
2222
void*buf2;
23-
uint32_tbuffer_flags;
2423

2524
booltrans_done;
2625
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/esp32_include/i80_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
void*buf1;
2424
void*buf2;
25-
uint32_tbuffer_flags;
2625

2726
booltrans_done;
2827
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/esp32_include/rgb_bus.h‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@
77
//local_includes
88
#include"lcd_types.h"
99

10+
1011
// esp-idf includes
1112
#include"esp_lcd_panel_io.h"
1213
#include"esp_lcd_panel_rgb.h"
1314

15+
#include"freertos/FreeRTOS.h"
16+
#include"freertos/task.h"
17+
#include"freertos/semphr.h"
18+
1419
// micropython includes
1520
#include"mphalport.h"
1621
#include"py/obj.h"
@@ -25,7 +30,6 @@
2530

2631
void*buf1;
2732
void*buf2;
28-
uint32_tbuffer_flags;
2933

3034
booltrans_done;
3135
boolrgb565_byte_swap;
@@ -39,6 +43,8 @@
3943
uint32_tbuffer_size;
4044
mp_obj_array_t*view1;
4145
mp_obj_array_t*view2;
46+
SemaphoreHandle_tsem_vsync_end;
47+
SemaphoreHandle_tsem_gui_ready;
4248
}mp_lcd_rgb_bus_obj_t;
4349

4450

‎ext_mod/lcd_bus/esp32_include/spi_bus.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
void*buf1;
2424
void*buf2;
25-
uint32_tbuffer_flags;
2625

2726
booltrans_done;
2827
boolrgb565_byte_swap;

‎ext_mod/lcd_bus/esp32_include/spi_panel_bus.h‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp