Skip to content

Commit 4c11d11

Browse files
committed
compile error fixes
1 parent 424ea88 commit 4c11d11

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

shared-module/displayio/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
// The default indicates no primary display
5252
static int primary_display_number = -1;
53-
static int max_num_displays = CIRCUITPY_DISPLAY_LIMIT;
53+
static mp_int_t max_num_displays = CIRCUITPY_DISPLAY_LIMIT;
5454

5555
primary_display_bus_t display_buses[CIRCUITPY_DISPLAY_LIMIT];
5656
primary_display_t displays[CIRCUITPY_DISPLAY_LIMIT];

shared-module/displayio/__init__.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ extern displayio_group_t circuitpython_splash;
110110

111111
void displayio_background(void);
112112
void reset_displays(void);
113-
#if CIRCUITPY_OS_GETENV
114113
void malloc_display_memory(void);
115-
#endif
116114
void displayio_gc_collect(void);
117115

118116
primary_display_t *allocate_display(void);

0 commit comments

Comments
 (0)