File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ The remain modifications should mostly be mechanical:
41
41
collector will free unreferenced I2C references.
42
42
7 . If you manually implemented I2C bus retry logic, consider specifying the
43
43
` :retries ` option to have ` Circuits.I2C ` retry for you.
44
+ 8 . Change calls to ` ElixirALE.I2C.device_names/0 ` to ` Circuits.I2C.bus_names/0 ` .
44
45
45
46
If you find that you have to make any other changes, please let us know via an
46
47
issue or PR so that other users can benefit.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ defmodule Circuits.I2C do
34
34
I2C bus names depend on the platform. Names are of the form "i2c-n" where the
35
35
"n" is the bus number. The correct bus number can be found in the
36
36
documentation for the device or on a schematic. Another option is to call
37
- `Circuits.I2C.bus_names/1 ` to list them for you.
37
+ `Circuits.I2C.bus_names/0 ` to list them for you.
38
38
39
39
I2c buses may be opened more than once. There is no need to share an I2C bus
40
40
reference between modules.
You can’t perform that action at this time.
0 commit comments