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 b193597 commit 0d92b0aCopy full SHA for 0d92b0a
ports/espressif/boards/lilygo_ttgo_t-oi-plus/board.c
@@ -3,29 +3,13 @@
3
4
#include "components/driver/include/driver/gpio.h"
5
6
-void board_init(void) {
+void board_init(void) {
7
}
8
9
bool board_requests_safe_mode(void) {
10
return false;
11
12
13
-bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
14
- // Pull LED down on reset rather than the default up
15
- if (pin_number == MICROPY_HW_LED_STATUS->number) {
16
- gpio_config_t cfg = {
17
- .pin_bit_mask = BIT64(pin_number),
18
- .mode = GPIO_MODE_DISABLE,
19
- .pull_up_en = false,
20
- .pull_down_en = true,
21
- .intr_type = GPIO_INTR_DISABLE,
22
- };
23
- gpio_config(&cfg);
24
- return true;
25
- }
26
- return false;
27
-}
28
-
29
void reset_board(void) {
30
31
0 commit comments