summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-08-09 22:11:35 +0300
committerJF002 <JF002@users.noreply.github.com>2021-08-14 21:00:33 +0200
commit7c28de0b6fa7fa33ff10d09847742a35de26cf2b (patch)
tree2ccf9f5f5e185821abaecf1995531cac667ac7b3 /src/main.cpp
parent10f610b2191ed0783a2f36a5e869019fc548aa24 (diff)
Set pin before loop
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 39d8906c..d301be67 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -308,6 +308,7 @@ int main(void) {
NRF_GPIO_PIN_NOPULL,
NRF_GPIO_PIN_S0D1,
NRF_GPIO_PIN_NOSENSE);
+ nrf_gpio_pin_set(pinTwiScl);
for (uint8_t i = 0; i < 16; i++) {
nrf_gpio_pin_toggle(pinTwiScl);
nrf_delay_us(5);