diff --git a/variants/gemma_m0/variant.h b/variants/gemma_m0/variant.h index 8161c9fb7..dda282c87 100644 --- a/variants/gemma_m0/variant.h +++ b/variants/gemma_m0/variant.h @@ -85,11 +85,11 @@ extern "C" #define PIN_LED3 PIN_LED_TXL #define LED_BUILTIN PIN_LED_13 // DotStar LED -#define INTERNAL_DS_DATA 3 -#define INTERNAL_DS_CLK 4 -#define PIN_DOTSTAR_DATA 3 -#define PIN_DOTSTAR_CLK 4 -#define DOTSTAR_NUM 1 +#define INTERNAL_DS_DATA (3u) +#define INTERNAL_DS_CLK (4u) +#define PIN_DOTSTAR_DATA (3u) +#define PIN_DOTSTAR_CLK (4u) +#define DOTSTAR_NUM (1u) /* * Analog pins diff --git a/variants/itsybitsy_m0/variant.h b/variants/itsybitsy_m0/variant.h index 46542861b..ae6a7eac0 100644 --- a/variants/itsybitsy_m0/variant.h +++ b/variants/itsybitsy_m0/variant.h @@ -81,9 +81,9 @@ extern "C" #define PIN_LED PIN_LED_13 #define LED_BUILTIN PIN_LED_13 // DotStar LED -#define PIN_DOTSTAR_DATA 41 -#define PIN_DOTSTAR_CLK 40 -#define DOTSTAR_NUM 1 +#define PIN_DOTSTAR_DATA (41u) +#define PIN_DOTSTAR_CLK (40u) +#define DOTSTAR_NUM (1u) /* * Analog pins diff --git a/variants/itsybitsy_m4/variant.h b/variants/itsybitsy_m4/variant.h index 6510d250a..da7736074 100644 --- a/variants/itsybitsy_m4/variant.h +++ b/variants/itsybitsy_m4/variant.h @@ -85,9 +85,9 @@ extern "C" #define PIN_LED PIN_LED_13 #define LED_BUILTIN PIN_LED_13 // DotStar LED -#define PIN_DOTSTAR_DATA 8 -#define PIN_DOTSTAR_CLK 6 -#define DOTSTAR_NUM 1 +#define PIN_DOTSTAR_DATA (8u) +#define PIN_DOTSTAR_CLK (6u) +#define DOTSTAR_NUM (1u) /* * Analog pins diff --git a/variants/trinket_m0/variant.h b/variants/trinket_m0/variant.h index e76dc3107..af311f983 100644 --- a/variants/trinket_m0/variant.h +++ b/variants/trinket_m0/variant.h @@ -85,11 +85,11 @@ extern "C" #define PIN_LED3 PIN_LED_TXL #define LED_BUILTIN PIN_LED_13 // DotStar LED -#define INTERNAL_DS_DATA 7 -#define INTERNAL_DS_CLK 8 -#define PIN_DOTSTAR_DATA 7 -#define PIN_DOTSTAR_CLK 8 -#define DOTSTAR_NUM 1 +#define INTERNAL_DS_DATA (7u) +#define INTERNAL_DS_CLK (8u) +#define PIN_DOTSTAR_DATA (7u) +#define PIN_DOTSTAR_CLK (8u) +#define DOTSTAR_NUM (1u) /* * Analog pins