Skip to content

Commit 6ffd9b7

Browse files
removed unused references to LED
1 parent ec04f27 commit 6ffd9b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main/main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const int CONNECTED_BIT = BIT0;
1515
#include "lwip/err.h"
1616
#include "string.h"
1717

18-
#define LED_BUILTIN 2
1918
#define AP_TARGET_SSID "ssid"
2019
#define AP_TARGET_PASSWORD "password"
2120

@@ -173,8 +172,6 @@ int app_main(void)
173172
{
174173
nvs_flash_init();
175174
initialise_wifi();
176-
gpio_pad_select_gpio(LED_BUILTIN);
177-
gpio_set_direction(LED_BUILTIN, GPIO_MODE_OUTPUT);
178175

179176
xTaskCreate(&http_server, "http_server", 2048, NULL, 5, NULL);
180177
return 0;

0 commit comments

Comments
 (0)