exposing led gpi into config

This commit is contained in:
2026-03-26 20:42:45 -04:00
parent f483a4d292
commit f42236532f
3 changed files with 10 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
menu "Calendink LED Configuration"
config CALENDINK_LED_GPIO
int "LED GPIO"
default 21
help
GPIO pin for the LED.
endmenu
+1 -2
View File
@@ -4,8 +4,7 @@
// SDK Includes // SDK Includes
#include "led_strip.h" #include "led_strip.h"
// Could be a config but its the GPIO on my ESP32-S3-ETH #define LED_GPIO CONFIG_CALENDINK_LED_GPIO
#define LED_GPIO GPIO_NUM_21
internal led_strip_handle_t led_strip; internal led_strip_handle_t led_strip;
+1 -1
View File
@@ -1,4 +1,4 @@
menu "CalendarInk Network Configuration" menu "Calendink Network Configuration"
config CALENDINK_WIFI_SSID config CALENDINK_WIFI_SSID
string "WiFi SSID" string "WiFi SSID"