File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ extern "C"
8585#define PIN_LED3 PIN_LED_TXL
8686#define LED_BUILTIN PIN_LED_13
8787// DotStar LED
88- #define INTERNAL_DS_DATA 3
89- #define INTERNAL_DS_CLK 4
90- #define PIN_DOTSTAR_DATA 3
91- #define PIN_DOTSTAR_CLK 4
92- #define DOTSTAR_NUM 1
88+ #define INTERNAL_DS_DATA (3u)
89+ #define INTERNAL_DS_CLK (4u)
90+ #define PIN_DOTSTAR_DATA (3u)
91+ #define PIN_DOTSTAR_CLK (4u)
92+ #define DOTSTAR_NUM (1u)
9393
9494/*
9595 * Analog pins
Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ extern "C"
8181#define PIN_LED PIN_LED_13
8282#define LED_BUILTIN PIN_LED_13
8383// DotStar LED
84- #define PIN_DOTSTAR_DATA 41
85- #define PIN_DOTSTAR_CLK 40
86- #define DOTSTAR_NUM 1
84+ #define PIN_DOTSTAR_DATA (41u)
85+ #define PIN_DOTSTAR_CLK (40u)
86+ #define DOTSTAR_NUM (1u)
8787
8888/*
8989 * Analog pins
Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ extern "C"
8585#define PIN_LED PIN_LED_13
8686#define LED_BUILTIN PIN_LED_13
8787// DotStar LED
88- #define PIN_DOTSTAR_DATA 8
89- #define PIN_DOTSTAR_CLK 6
90- #define DOTSTAR_NUM 1
88+ #define PIN_DOTSTAR_DATA (8u)
89+ #define PIN_DOTSTAR_CLK (6u)
90+ #define DOTSTAR_NUM (1u)
9191
9292/*
9393 * Analog pins
Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ extern "C"
8585#define PIN_LED3 PIN_LED_TXL
8686#define LED_BUILTIN PIN_LED_13
8787// DotStar LED
88- #define INTERNAL_DS_DATA 7
89- #define INTERNAL_DS_CLK 8
90- #define PIN_DOTSTAR_DATA 7
91- #define PIN_DOTSTAR_CLK 8
92- #define DOTSTAR_NUM 1
88+ #define INTERNAL_DS_DATA (7u)
89+ #define INTERNAL_DS_CLK (8u)
90+ #define PIN_DOTSTAR_DATA (7u)
91+ #define PIN_DOTSTAR_CLK (8u)
92+ #define DOTSTAR_NUM (1u)
9393
9494/*
9595 * Analog pins
You can’t perform that action at this time.
0 commit comments