Skip to content

Commit e2a8653

Browse files
committed
Merge branch 'master' of github.com:arduino/ArduinoCore-megaavr
2 parents a1563ef + ceacc17 commit e2a8653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cores/arduino/Arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ bool isDoubleBondedActive(uint8_t pin);
129129

130130
#define portOutputRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->OUT ) )
131131
#define portInputRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->IN ) )
132+
#define portModeRegister(P) ( (volatile uint8_t *)( &portToPortStruct(P)->DIR ) )
132133

133134
#ifdef __cplusplus
134135
} // extern "C"

0 commit comments

Comments
 (0)