Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino

This commit is contained in:
hathach committed 2017-02-16 16:42:19 +07:00
commit f0c0cec1c2
1 file changed
+3 -3
+3 -3
View File
@@ -104,9 +104,9 @@ uint32_t setLoopStacksize(void);
#define digitalPinToPort(P) ( &(NRF_GPIO[P]) )
#define digitalPinToBitMask(P) ( 1 << g_ADigitalPinMap[P] )
//#define analogInPinToBit(P) ( )
#define portOutputRegister(port) ( &(port->OUTSET) )
#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 )
/*