Closed
Description
removing "typedef unsigned int word;" breaks a lot of my code.
The avr core Arduino.h has both:
Line 121:
typedef unsigned int word;
and
Line 238:
uint16_t makeWord(uint16_t w);
uint16_t makeWord(byte h, byte l);
#define word(...) makeWord(VA_ARGS)
if you have both you can do:
word w = word(1, 2);
Metadata
Metadata
Assignees
Labels
No labels