Skip to content

Commit dc4bed1

Browse files
Allow misaligned pgm_read_XXX macro reads
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
1 parent 84a9273 commit dc4bed1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cores/rp2040/Arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ float analogReadTemp(); // Returns core temp in Centigrade
6868
// PWM
6969
void analogWrite(pin_size_t pinNumber, int value);
7070

71+
// Timing
7172
void delay(unsigned long);
7273
void delayMicroseconds(unsigned int us);
7374
unsigned long millis();

0 commit comments

Comments
 (0)