Skip to content

Commit

Permalink
fix define clash
Browse files Browse the repository at this point in the history
  • Loading branch information
idolpx committed Jun 30, 2023
1 parent db4e9d7 commit 0ff62db
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 25 deletions.
17 changes: 8 additions & 9 deletions include/pinmap/a2_rev0.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@
#define PIN_LED_BT GPIO_NUM_NC // No BT LED

/* LED Strip NEW */
#define LED_DATA_PIN GPIO_NUM_4
#define LED_COUNT 4
#define LED_BRIGHTNESS 11 // max mA the LED can use determines brightness
#define LED_TYPE WS2812B
#define RGB_ORDER GRB

#define LEDSTRIP_DATA_PIN GPIO_NUM_4
#define LEDSTRIP_COUNT 4
#define LEDSTRIP_BRIGHTNESS 11 // max mA the LED can use determines brightness
#define LEDSTRIP_TYPE WS2812B
#define LEDSTRIP_RGB_ORDER GRB
// LED order on the strip starting with 0
#define LED_WIFI_NUM 0
#define LED_BUS_NUM 2
#define LED_BT_NUM 1
#define LEDSTRIP_WIFI_NUM 0
#define LEDSTRIP_BUS_NUM 2
#define LEDSTRIP_BT_NUM 1

/* Audio Output */
#define PIN_DAC1 GPIO_NUM_25 // samlib.h
Expand Down
16 changes: 8 additions & 8 deletions include/pinmap/fujiloaf-rev0.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
#define PIN_LED_BT GPIO_NUM_NC // No BT LED

/* LED Strip NEW */
#define LED_DATA_PIN GPIO_NUM_4
#define LED_COUNT 5
#define LED_BRIGHTNESS 15 // max mA the LED can use determines brightness
#define LED_TYPE WS2812B
#define RGB_ORDER GRB
#define LEDSTRIP_DATA_PIN GPIO_NUM_4
#define LEDSTRIP_COUNT 5
#define LEDSTRIP_BRIGHTNESS 15 // max mA the LED can use determines brightness
#define LEDSTRIP_TYPE WS2812B
#define LEDSTRIP_RGB_ORDER GRB
// LED order on the strip starting with 0
#define LED_WIFI_NUM 0
#define LED_BUS_NUM 4
#define LED_BT_NUM 2
#define LEDSTRIP_WIFI_NUM 0
#define LEDSTRIP_BUS_NUM 4
#define LEDSTRIP_BT_NUM 2

/* Audio Output */
#define PIN_DAC1 GPIO_NUM_25 // samlib.h
Expand Down
16 changes: 8 additions & 8 deletions include/pinmap/mac_rev0.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
#define PIN_LED_BT GPIO_NUM_NC // No BT LED

/* LED Strip NEW */
#define LED_DATA_PIN GPIO_NUM_4
#define LED_COUNT 4
#define LED_BRIGHTNESS 11 // max mA the LED can use determines brightness
#define LED_TYPE WS2812B
#define RGB_ORDER GRB
#define LEDSTRIP_DATA_PIN GPIO_NUM_4
#define LEDSTRIP_COUNT 4
#define LEDSTRIP_BRIGHTNESS 11 // max mA the LED can use determines brightness
#define LEDSTRIP_TYPE WS2812B
#define LEDSTRIP_RGB_ORDER GRB
// LED order on the strip starting with 0
#define LED_WIFI_NUM 0
#define LED_BUS_NUM 2
#define LED_BT_NUM 1
#define LEDSTRIP_WIFI_NUM 0
#define LEDSTRIP_BUS_NUM 2
#define LEDSTRIP_BT_NUM 1

/* Audio Output */
#define PIN_DAC1 GPIO_NUM_25 // samlib.h
Expand Down

0 comments on commit 0ff62db

Please sign in to comment.