Revert NRF_GPIO update

This commit is contained in:
Kevin Townsend authored and GitHub committed 2017-02-14 03:57:30 +01:00
1 parent e938b724bf
commit 99e0b384e8
1 file changed
+4 -4
+4 -4
View File
@@ -101,12 +101,12 @@ uint32_t setLoopStacksize(void);
#define bit(b) (1UL << (b))
#define digitalPinToPort(P) ( &(NRF_GPIO) )
#define digitalPinToPort(P) ( &(NRF_GPIO[P]) )
#define digitalPinToBitMask(P) ( 1 << g_ADigitalPinMap[P] )
//#define analogInPinToBit(P) ( )
#define portOutputRegister(port) ( &(port->OUT) )
#define portInputRegister(port) ( &(port->IN) )
#define portModeRegister(port) ( &(port->DIRSET) )
#define portOutputRegister(port) ( &(NRF_GPIO->OUT) )
#define portInputRegister(port) ( &(NRF_GPIO->IN) )
#define portModeRegister(port) ( &(NRF_GPIO->DIRSET) )
#define digitalPinHasPWM(P) ( true )
/*