This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 235e0e92a8 boards/nrf52-feather: fix typo in I2C1 initialization
235e0e92a8 is described below

commit 235e0e92a853063fd93b8452b5caffe40d6f3a1a
Author: raiden00pl <[email protected]>
AuthorDate: Fri May 19 17:04:06 2023 +0200

    boards/nrf52-feather: fix typo in I2C1 initialization
---
 boards/arm/nrf52/nrf52-feather/src/nrf52_i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/nrf52/nrf52-feather/src/nrf52_i2c.c 
b/boards/arm/nrf52/nrf52-feather/src/nrf52_i2c.c
index 3eb976a036..1ea360a989 100644
--- a/boards/arm/nrf52/nrf52-feather/src/nrf52_i2c.c
+++ b/boards/arm/nrf52/nrf52-feather/src/nrf52_i2c.c
@@ -88,7 +88,7 @@ int nrf52_i2ctool(void)
 #endif
 
 #ifdef CONFIG_NRF52_I2C1_MASTER
-  ret = nrf52_i2c_register(0);
+  ret = nrf52_i2c_register(1);
 #endif
   return ret;
 }

Reply via email to