Skip to content

Commit 80188a9

Browse files
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 51726cb commit 80188a9

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/boards/sunton_esp32_2432S028

1 file changed

+1
-1
lines changed

ports/espressif/boards/sunton_esp32_2432S028/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static void display_init(void) {
5959

6060
busdisplay_busdisplay_obj_t *display = &allocate_display()->display;
6161
display->base.type = &busdisplay_busdisplay_type;
62-
os_getenv_err_t result = common_hal_os_getenv_int("CIRCUITPY_DISP_ROTATION", &rotation);
62+
os_getenv_err_t result = common_hal_os_getenv_int("CIRCUITPY_DISPLAY_ROTATION", &rotation);
6363
if (result != GETENV_OK) {
6464
rotation = 0;
6565
}

0 commit comments

Comments
 (0)