Repository navigation
Commit 75ee47b
committed
adafruit_fruit_jam: expose the DVI display as board.DISPLAY
The auto-constructed picodvi/HSTX display lands in displays[0] (via
picodvi_autoconstruct) but was only reachable through supervisor.runtime.display,
so code reading board.DISPLAY.width/height (the size-independent convention) hit
AttributeError. Map board.DISPLAY to displays[0].framebuffer_display, matching
adafruit_feather_rp2040_dvi. Lets games run unchanged on the Fruit Jam.1 parent 9fecc30 commit 75ee47b
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments