Skip to content

Commit af8b417

Browse files
committed
Update to lsm303agr 1.0.
This is possible now that the HAL supports embedded-hal 1.0 I2c.
1 parent 73357e5 commit af8b417

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2828
- Feature: Exposed all remaining peripherals for both boards.
2929
- Update HAL crates to 0.17.1.
3030
- Update to `embedded-hal` 1.0.
31-
- Update magnetometer example to use `lsm303agr` 0.3.
31+
- Update magnetometer example to use `lsm303agr` 1.0.
3232
- Update debug tooling from probe-run to probe-rs
3333

3434
## [0.13.0] - 2022-05-24

examples/magnetometer/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ embedded-hal = "1.0.0"
1010
panic-halt = "0.2.0"
1111
defmt-rtt = "0.4.0"
1212
defmt = "0.3.6"
13-
lsm303agr = "0.3.0"
13+
lsm303agr = "1.0.0"
1414

1515
[dependencies.microbit]
1616
path = "../../microbit"
1717
optional = true
18-
features = ["embedded-hal-02"]
1918

2019
[dependencies.microbit-v2]
2120
path = "../../microbit-v2"
2221
optional = true
23-
features = ["embedded-hal-02"]
2422

2523
[features]
2624
v1 = ["microbit"]

0 commit comments

Comments
 (0)