mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-18 22:13:45 +02:00
Adding new Kconfig options and updating LEDManager code for conditional debug LED and external error mirroring
This commit is contained in:
@@ -28,7 +28,12 @@
|
||||
#include <UVCStream.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LED_DEBUG_ENABLE
|
||||
#define BLINK_GPIO (gpio_num_t) CONFIG_LED_DEBUG_GPIO
|
||||
#else
|
||||
// Use an invalid / unused GPIO when debug LED disabled to avoid accidental toggles
|
||||
#define BLINK_GPIO (gpio_num_t) -1
|
||||
#endif
|
||||
#define CONFIG_LED_C_PIN_GPIO (gpio_num_t) CONFIG_LED_EXTERNAL_GPIO
|
||||
|
||||
TaskHandle_t serialManagerHandle;
|
||||
|
||||
Reference in New Issue
Block a user