Skip to content

Commit fd97804

Browse files
committed
Merge branch 'develop'
2 parents 85b66d8 + c6d1b9d commit fd97804

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cores/nRF5/wiring_digital.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void pinMode( uint32_t ulPin, uint32_t ulMode )
3131
return;
3232
}
3333

34-
// ulPin = g_ADigitalPinMap[ulPin];
34+
ulPin = g_ADigitalPinMap[ulPin];
3535

3636
// Set pin mode according to chapter '22.6.3 I/O Pin Configuration'
3737
switch ( ulMode )
@@ -84,7 +84,7 @@ void digitalWrite( uint32_t ulPin, uint32_t ulVal )
8484
return;
8585
}
8686

87-
// ulPin = g_ADigitalPinMap[ulPin];
87+
ulPin = g_ADigitalPinMap[ulPin];
8888
NRF_GPIO_Type* nrf_port = (NRF_GPIO_Type*) digitalPinToPort(ulPin);
8989

9090
switch ( ulVal )
@@ -105,7 +105,7 @@ int digitalRead( uint32_t ulPin )
105105
return 0;
106106
}
107107

108-
// ulPin = g_ADigitalPinMap[ulPin];
108+
ulPin = g_ADigitalPinMap[ulPin];
109109

110110
// Return bit in OUT or IN depending on configured direction
111111
NRF_GPIO_Type* nrf_port = (NRF_GPIO_Type*) digitalPinToPort(ulPin);

0 commit comments

Comments
 (0)