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 1e36e05 commit b728a22Copy full SHA for b728a22
ports/espressif/boards/makerfabs_tft7/board.c
@@ -52,26 +52,13 @@ static void display_init(void) {
52
width = 800;
53
height = 480;
54
frequency = 6500000;
55
- } else if (result == GETENV_OK) {
+ } else if (result == GETENV_OK && width == 1024) {
56
width = 1024;
57
height = 600;
58
frequency = 10000000;
59
}
60
61
if (height == 0) {
62
- result = common_hal_os_getenv_int("CIRCUITPY_DISPLAY_HEIGHT", &height);
63
- if (result == GETENV_OK && height == 480) {
64
- width = 800;
65
- height = 480;
66
- frequency = 6500000;
67
68
- width = 1024;
69
- height = 600;
70
- frequency = 10000000;
71
- }
72
73
-
74
- if (width == 0) {
75
76
77
0 commit comments