File tree Expand file tree Collapse file tree 12 files changed +36
-0
lines changed
Taida_Century_nRF52_minidev Expand file tree Collapse file tree 12 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9494#define PIN_WIRE_SDA (20u)
9595#define PIN_WIRE_SCL (19u)
9696
97+ static const uint8_t SDA = PIN_WIRE_SDA ;
98+ static const uint8_t SCL = PIN_WIRE_SCL ;
99+
97100#ifdef __cplusplus
98101}
99102#endif
Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
8888#define PIN_WIRE_SDA (2u)
8989#define PIN_WIRE_SCL (3u)
9090
91+ static const uint8_t SDA = PIN_WIRE_SDA ;
92+ static const uint8_t SCL = PIN_WIRE_SCL ;
93+
9194#ifdef __cplusplus
9295}
9396#endif
Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ static const uint8_t SCK1 = PIN_SPI1_SCK ;
107107#define PIN_WIRE_SDA (0u)
108108#define PIN_WIRE_SCL (1u)
109109
110+ static const uint8_t SDA = PIN_WIRE_SDA ;
111+ static const uint8_t SCL = PIN_WIRE_SCL ;
112+
110113#ifdef __cplusplus
111114}
112115#endif
Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9696#define PIN_WIRE_SDA (20u)
9797#define PIN_WIRE_SCL (21u)
9898
99+ static const uint8_t SDA = PIN_WIRE_SDA ;
100+ static const uint8_t SCL = PIN_WIRE_SCL ;
101+
99102#ifdef __cplusplus
100103}
101104#endif
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ extern "C"
110110 #define PIN_WIRE_SDA (25u)
111111 #define PIN_WIRE_SCL (24u)
112112
113+ static const uint8_t SDA = PIN_WIRE_SDA ;
114+ static const uint8_t SCL = PIN_WIRE_SCL ;
115+
113116#else
114117 /* PCA10000
115118 * *********/
Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
8888#define PIN_WIRE_SDA (20u)
8989#define PIN_WIRE_SCL (21u)
9090
91+ static const uint8_t SDA = PIN_WIRE_SDA ;
92+ static const uint8_t SCL = PIN_WIRE_SCL ;
93+
9194#ifdef __cplusplus
9295}
9396#endif
Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
8787#define PIN_WIRE_SDA (2u)
8888#define PIN_WIRE_SCL (3u)
8989
90+ static const uint8_t SDA = PIN_WIRE_SDA ;
91+ static const uint8_t SCL = PIN_WIRE_SCL ;
92+
9093#ifdef __cplusplus
9194}
9295#endif
Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9191#define PIN_WIRE_SDA (20u)
9292#define PIN_WIRE_SCL (21u)
9393
94+ static const uint8_t SDA = PIN_WIRE_SDA ;
95+ static const uint8_t SCL = PIN_WIRE_SCL ;
96+
9497#ifdef __cplusplus
9598}
9699#endif
Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
101101#define PIN_WIRE_SDA (2u)
102102#define PIN_WIRE_SCL (3u)
103103
104+ static const uint8_t SDA = PIN_WIRE_SDA ;
105+ static const uint8_t SCL = PIN_WIRE_SCL ;
106+
104107#ifdef __cplusplus
105108}
106109#endif
Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
104104#define PIN_WIRE_SDA (0u)
105105#define PIN_WIRE_SCL (1u)
106106
107+ static const uint8_t SDA = PIN_WIRE_SDA ;
108+ static const uint8_t SCL = PIN_WIRE_SCL ;
109+
107110#ifdef __cplusplus
108111}
109112#endif
You can’t perform that action at this time.
0 commit comments