Skip to content

Commit 9d97f79

Browse files
Update ports/espressif/boards/m5stack_cardputer/board.c
Co-authored-by: CDarius <[email protected]>
1 parent 3c6d33a commit 9d97f79

File tree

1 file changed

+0
-10
lines changed
  • ports/espressif/boards/m5stack_cardputer

1 file changed

+0
-10
lines changed

ports/espressif/boards/m5stack_cardputer/board.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,6 @@ void board_init(void) {
108108
);
109109
}
110110

111-
bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
112-
// Override the I2C/TFT power pin reset to prevent resetting the display.
113-
if (pin_number == 21) {
114-
// Turn on TFT and I2C
115-
gpio_set_direction(21, GPIO_MODE_DEF_OUTPUT);
116-
gpio_set_level(21, true);
117-
return true;
118-
}
119-
return false;
120-
}
121111

122112
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
123113

0 commit comments

Comments
 (0)