File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
ArduinoCore-Linux/libraries Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ typedef void (*voidFuncPtrParam)(void*);
73
73
#endif
74
74
75
75
/* TODO: request for removal */
76
- typedef bool boolean;
77
- typedef uint8_t byte;
78
- typedef uint16_t word;
76
+ // typedef bool boolean;
77
+ // typedef uint8_t byte;
78
+ // typedef uint16_t word;
79
79
80
80
void init (void );
81
81
void initVariant (void );
@@ -171,7 +171,7 @@ static void randomSeed(unsigned seed){
171
171
172
172
/* C++ prototypes */
173
173
uint16_t makeWord (uint16_t w);
174
- uint16_t makeWord (byte h, byte l);
174
+ uint16_t makeWord (uint8_t h, uint8_t l);
175
175
176
176
#define word (...) makeWord(__VA_ARGS__)
177
177
Original file line number Diff line number Diff line change 2
2
class SPIClass {
3
3
public:
4
4
bool begin () { return true ; }
5
- bool begin (int SCK , int MISO , int MOSI , int SS ) { return true ; }
5
+ bool begin (int sck , int miso , int mosi , int ss ) { return true ; }
6
6
};
7
7
8
8
static SPIClass SPI;
You can’t perform that action at this time.
0 commit comments