Skip to content

Commit

Permalink
fix default board headers
Browse files Browse the repository at this point in the history
  • Loading branch information
qqqlab committed May 14, 2024
1 parent 7374fb4 commit d0b1372
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/madflight_board_default_ESP32-S3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/madflight_board_default_ESP32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/madflight_board_default_RP2040.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/madflight_board_default_STM32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0b1372

Please sign in to comment.