Skip to content

Commit ac498d1

Browse files
committed
Remove Hacktablet backlight code
1 parent 0323d9b commit ac498d1

File tree

1 file changed

+0
-5
lines changed
  • ports/espressif/boards/makerfabs_tft7

1 file changed

+0
-5
lines changed

ports/espressif/boards/makerfabs_tft7/board.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ static void display_init(void) {
4242
mp_int_t height = 0, width = 0, frequency = 0;
4343
os_getenv_err_t result;
4444

45-
// Turn on backlight
46-
// gpio_set_direction(2, GPIO_MODE_DEF_OUTPUT);
47-
// gpio_set_level(2, true);
48-
common_hal_never_reset_pin(&pin_GPIO39);
49-
5045
result = common_hal_os_getenv_int("CIRCUITPY_DISPLAY_WIDTH", &width);
5146
if (result == GETENV_OK && width == 800) {
5247
width = 800;

0 commit comments

Comments
 (0)