Skip to content

Commit 067de9a

Browse files
committed
bump changelog and rename gpio macro back
1 parent 6347e5a commit 067de9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111
- Use `portable-atomic` to allow builds on `riscv32imc-unknown-none-elf`` targets when needed
12-
- Implement `embedded-hal` version `1.0` traits alongside version `0.2`
12+
- Update `embedded-hal` version to `1.0` changing `delay`, `spi`, `i2c`, `gpio` and `pwm` modules to match
1313
- `I2c::free` renamed to `I2c::release`
1414

1515
## [v0.10.0] - 2023-03-28

src/gpio.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ trait PeripheralAccess {
137137
}
138138
}
139139

140-
macro_rules! gpio_eh_1 {
140+
macro_rules! gpio {
141141
($GPIOX:ident, $gpiox:ident, [
142142
$($PXi:ident: ($pxi:ident, $i:expr, $MODE:ty),)+
143143
]) => {
@@ -322,7 +322,7 @@ macro_rules! gpio_eh_1 {
322322
// By default, all GPIOs are in the Unknown state for two reasons:
323323
// * bootloader may reconfigure some GPIOs
324324
// * we do not enforce any specific state in `split()`
325-
gpio_eh_1!(GPIO0, gpio0, [
325+
gpio!(GPIO0, gpio0, [
326326
Pin0: (pin0, 0, Unknown),
327327
Pin1: (pin1, 1, Unknown),
328328
Pin2: (pin2, 2, Unknown),

0 commit comments

Comments
 (0)