Skip to content

Commit b518d11

Browse files
committed
compile errors
1 parent 2815728 commit b518d11

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ArduinoCore-API/api/Common.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ typedef void (*voidFuncPtrParam)(void*);
7373
#endif
7474

7575
/* 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;
7979

8080
void init(void);
8181
void initVariant(void);
@@ -171,7 +171,7 @@ static void randomSeed(unsigned seed){
171171

172172
/* C++ prototypes */
173173
uint16_t makeWord(uint16_t w);
174-
uint16_t makeWord(byte h, byte l);
174+
uint16_t makeWord(uint8_t h, uint8_t l);
175175

176176
#define word(...) makeWord(__VA_ARGS__)
177177

ArduinoCore-Linux/libraries/SPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class SPIClass {
33
public:
44
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; }
66
};
77

88
static SPIClass SPI;

0 commit comments

Comments
 (0)