Skip to content

Commit

Permalink
samples: switch nrf overlays to sda-gpios, scl-gpios
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mbolivar-nordic authored and carlescufi committed Mar 1, 2021
1 parent 840ba45 commit 01bb08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/sensor/ccs811/boards/nrf51_ble400.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

&i2c0 {
status = "okay";
sda-pin = <0>;
scl-pin = <1>;
sda-gpios = <&gpio0 0 0>;
scl-gpios = <&gpio0 1 0>;

/* Sparkfun Environment Combo uses second I2C address */
ccs811: ccs811@5b {
Expand Down

0 comments on commit 01bb08e

Please sign in to comment.