Skip to content

Commit

Permalink
Fix I2C1 defaults
Browse files Browse the repository at this point in the history
CL: i2c: Fix I2C1 defaults

PUBLISHED_FROM=d937d895e6ed5b5a6b0b929782b2e9fb4065efe0
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Feb 22, 2019
1 parent 1ccc303 commit 98fdd22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ conds:
- ["i2c.scl_gpio", "i", 33, {title: "GPIO to use for SCL"}]
- ["i2c1", "i2c", {title: "I2C settings"}]
- ["i2c1.unit_no", 1]
- ["i2c1.enable", false]
- ["i2c1.sda_gpio", 22]
- ["i2c1.scl_gpio", 23]

- when: mos.platform == "esp8266"
apply:
Expand All @@ -74,6 +77,7 @@ conds:
- ["i2c.sda_gpio", "i", -1, {title: "GPIO to use for SDA"}]
- ["i2c.scl_gpio", "i", -1, {title: "GPIO to use for SCL"}]
- ["i2c1", "i2c", {title: "I2C settings"}]
- ["i2c1.enable", false]

- when: mos.platform == "ubuntu"
apply:
Expand All @@ -86,6 +90,7 @@ conds:
- ["i2c.debug", "b", false, {title: "Debug I2C bus activity"}]
- ["i2c1", "i2c", {title: "I2C settings"}]
- ["i2c1.unit_no", 1]
- ["i2c1.enable", false]

tags:
- c
Expand Down

0 comments on commit 98fdd22

Please sign in to comment.