File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ STATIC bool any_display_uses_this_framebuffer(mp_obj_base_t *obj) {
4040}
4141#endif
4242
43- // Check for recursive calls to displayio_background.
44- bool displayio_background_in_progress = false;
4543
4644void displayio_background (void ) {
4745 if (mp_hal_is_interrupted ()) {
@@ -52,11 +50,6 @@ void displayio_background(void) {
5250 return ;
5351 }
5452
55- if (displayio_background_in_progress ) {
56- // Don't allow recursive calls to this routine.
57- return ;
58- }
59-
6053 displayio_background_in_progress = true;
6154
6255 for (uint8_t i = 0 ; i < CIRCUITPY_DISPLAY_LIMIT ; i ++ ) {
@@ -75,8 +68,6 @@ void displayio_background(void) {
7568 }
7669 }
7770
78- // All done.
79- displayio_background_in_progress = false;
8071}
8172
8273void common_hal_displayio_release_displays (void ) {
You can’t perform that action at this time.
0 commit comments