8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1a90a commit d1bda47Copy full SHA for d1bda47
shared-module/displayio/__init__.c
@@ -40,8 +40,6 @@ STATIC bool any_display_uses_this_framebuffer(mp_obj_base_t *obj) {
40
}
41
#endif
42
43
-// Check for recursive calls to displayio_background.
44
-bool displayio_background_in_progress = false;
45
46
void displayio_background(void) {
47
if (mp_hal_is_interrupted()) {
@@ -52,11 +50,6 @@ void displayio_background(void) {
52
50
return;
53
51
54
55
- if (displayio_background_in_progress) {
56
- // Don't allow recursive calls to this routine.
57
- return;
58
- }
59
-
60
displayio_background_in_progress = true;
61
62
for (uint8_t i = 0; i < CIRCUITPY_DISPLAY_LIMIT; i++) {
@@ -75,8 +68,6 @@ void displayio_background(void) {
75
68
76
69
77
70
78
- // All done.
79
- displayio_background_in_progress = false;
80
71
81
72
82
73
void common_hal_displayio_release_displays(void) {
0 commit comments