Skip to content

Commit 1c2d6ef

Browse files
committed
Update changelog for 0.7.1 release
1 parent 0ec450e commit 1c2d6ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ dual licensed as above, without any additional terms or conditions.
6161

6262
## Changelog
6363

64+
### 0.7.1
65+
66+
- Implements an `Iterator` for the `Leds` struct and introduced the [Leds::iter_mut()](https://docs.rs/stm32f3-discovery/0.7.1/stm32f3_discovery/leds/struct.Leds.html#method.iter_mut) method.
67+
68+
Testing shows that direct iteration over the leds using `Leds::iter_mut()` can save up to 800 bytes off the size of the final binary over the old `Leds::into_array()` method.
69+
70+
See: https://github.com/rubberduck203/stm32f3-discovery/pull/41
71+
72+
- Adds the ability to obtain a mutable reference to a led based on it's compass direction on the board.
73+
74+
See: [Leds::for_direction()](https://docs.rs/stm32f3-discovery/0.7.1/stm32f3_discovery/leds/struct.Leds.html#method.for_direction)
6475
### 0.7.0
6576

6677
Updates `stm32f3xx-hal` to 0.7.0.

0 commit comments

Comments
 (0)