Skip to content

Commit 65bf207

Browse files
committed
Correct typo
Resolves sandeepmistry#4.
1 parent d9eff10 commit 65bf207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/nRF5/Arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void loop( void ) ;
9292

9393
#define bit(b) (1UL << (b))
9494

95-
#define digitalPinToPort(P) ( &(NRF_GPIO]) )
95+
#define digitalPinToPort(P) ( &(NRF_GPIO) )
9696
#define digitalPinToBitMask(P) ( 1 << g_ADigitalPinMap[P] )
9797
//#define analogInPinToBit(P) ( )
9898
#define portOutputRegister(port) ( &(port->OUTSET) )

0 commit comments

Comments
 (0)