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 2194a33 commit 90ea107Copy full SHA for 90ea107
1 file changed
src/drivers/TwiMaster.cpp
@@ -16,12 +16,14 @@ void TwiMaster::ConfigurePins() const {
16
NRF_GPIO->PIN_CNF[params.pinScl] =
17
(GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos) |
18
(GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos) |
19
+ (GPIO_PIN_CNF_PULL_Disabled << GPIO_PIN_CNF_PULL_Pos) |
20
(GPIO_PIN_CNF_DRIVE_S0D1 << GPIO_PIN_CNF_DRIVE_Pos) |
21
(GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos);
22
23
NRF_GPIO->PIN_CNF[params.pinSda] =
24
25
26
27
28
29
}
0 commit comments