We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da26bbb commit b33f74aCopy full SHA for b33f74a
libraries/Wire/Wire_nRF51.cpp
@@ -71,8 +71,8 @@ void TwoWire::begin(void) {
71
72
_p_twi->FREQUENCY = (TWI_FREQUENCY_FREQUENCY_K100 << TWI_FREQUENCY_FREQUENCY_Pos);
73
_p_twi->ENABLE = (TWI_ENABLE_ENABLE_Enabled << TWI_ENABLE_ENABLE_Pos);
74
- _p_twi->PSELSCL = _uc_pinSCL;
75
- _p_twi->PSELSDA = _uc_pinSDA;
+ _p_twi->PSELSCL = pinSCL;
+ _p_twi->PSELSDA = pinSDA;
76
}
77
78
void TwoWire::setClock(uint32_t baudrate) {
0 commit comments