From 6c4eeac2baa35a09771b899525c689c26011e252 Mon Sep 17 00:00:00 2001 From: microbuilder Date: Tue, 14 Feb 2017 01:38:46 +0100 Subject: [PATCH] Changed OUTSET to OUT --- cores/nRF5/Arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/nRF5/Arduino.h b/cores/nRF5/Arduino.h index 8b9567ce..b0e311d1 100644 --- a/cores/nRF5/Arduino.h +++ b/cores/nRF5/Arduino.h @@ -104,7 +104,7 @@ 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 portOutputRegister(port) ( &(port->OUT) ) #define portInputRegister(port) ( &(port->IN) ) #define portModeRegister(port) ( &(port->DIRSET) ) #define digitalPinHasPWM(P) ( true )