Skip to content

Commit 01bb08e

Browse files
mbolivar-nordiccarlescufi
authored andcommitted
samples: switch nrf overlays to sda-gpios, scl-gpios
I only see one sample with an overlay using the now legacy sda-pin and scl-pin properties. Move it to the new style. Signed-off-by: Martí Bolívar <[email protected]>
1 parent 840ba45 commit 01bb08e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/sensor/ccs811/boards/nrf51_ble400.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
&i2c0 {
88
status = "okay";
9-
sda-pin = <0>;
10-
scl-pin = <1>;
9+
sda-gpios = <&gpio0 0 0>;
10+
scl-gpios = <&gpio0 1 0>;
1111

1212
/* Sparkfun Environment Combo uses second I2C address */
1313
ccs811: ccs811@5b {

0 commit comments

Comments
 (0)