Allow misaligned pgm_read_XXX macro reads (#81)

Update the ArduinoAPI with new macros/inlines that allow accessing
values that are not naturally aligned (i.e. an int at address 0x0001).

Fixes #79
This commit is contained in:
Earle F. Philhower, III 2021-04-06 12:08:26 -07:00 committed by GitHub
parent bbac9d4b96
commit 85a79104b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8f747a4a5756cbea5123b34bb7f65b043cb80c26
Subproject commit b20f68b65c787eec78ef81762c85db999d2ce071

View file

@ -68,6 +68,7 @@ float analogReadTemp(); // Returns core temp in Centigrade
// PWM
void analogWrite(pin_size_t pinNumber, int value);
// Timing
void delay(unsigned long);
void delayMicroseconds(unsigned int us);
unsigned long millis();