diff --git a/src/madflight_board_default_ESP32-S3.h b/src/madflight_board_default_ESP32-S3.h index 377a4e0..4b927b2 100644 --- a/src/madflight_board_default_ESP32-S3.h +++ b/src/madflight_board_default_ESP32-S3.h @@ -32,7 +32,7 @@ Programming/debugging: //NOTE: DON'T USE SAME PIN TWICE. All pins here get configured, even if they are not used. Set pin to -1 to disable. //LED: -#ifndef HW_OUT_COUNT +#ifndef HW_PIN_LED #define HW_PIN_LED 38 //Note: plus RGB_LED on pin 48, some versions have RGB_LED on pin 38 and no LED #endif #ifndef HW_LED_ON diff --git a/src/madflight_board_default_ESP32.h b/src/madflight_board_default_ESP32.h index bd42923..0f959b6 100644 --- a/src/madflight_board_default_ESP32.h +++ b/src/madflight_board_default_ESP32.h @@ -6,7 +6,7 @@ //NOTE: DON'T USE SAME PIN TWICE. All pins here get configured, even if they are not used. Set pin to -1 to disable. //LED: -#ifndef HW_OUT_COUNT +#ifndef HW_PIN_LED #define HW_PIN_LED 2 //Note: ESP32 DevKitC has no on-board LED #endif #ifndef HW_LED_ON diff --git a/src/madflight_board_default_RP2040.h b/src/madflight_board_default_RP2040.h index 97011f1..8dfd897 100644 --- a/src/madflight_board_default_RP2040.h +++ b/src/madflight_board_default_RP2040.h @@ -9,7 +9,7 @@ //NOTE: DON'T USE SAME PIN TWICE. All pins here get configured, even if they are not used. Set pin to -1 to disable. //LED: -#ifndef HW_OUT_COUNT +#ifndef HW_PIN_LED #define HW_PIN_LED 25 //internal on Raspberry Pi Pico #endif #ifndef HW_LED_ON diff --git a/src/madflight_board_default_STM32.h b/src/madflight_board_default_STM32.h index d9f2597..c9de43e 100644 --- a/src/madflight_board_default_STM32.h +++ b/src/madflight_board_default_STM32.h @@ -20,7 +20,7 @@ //NOTE: DON'T USE SAME PIN TWICE. All pins here get configured, even if they are not used. Set pin to -1 to disable. //LED: -#ifndef HW_OUT_COUNT +#ifndef HW_PIN_LED #define HW_PIN_LED PC13 #endif #ifndef HW_LED_ON