Skip to content

Commit aa10e6f

Browse files
bors[bot]burrbull
andauthored
Merge #521
521: const BIDI: bool r=therealprof a=burrbull Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
2 parents d0c0aa3 + f1b674c commit aa10e6f

File tree

5 files changed

+159
-288
lines changed

5 files changed

+159
-288
lines changed

CHANGELOG.md

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

1010
### Changed
1111

12-
- `PwmHz::get_period`: fix computation of return value, prevent division by zero
12+
- Use `bool` for BIDI mode type
13+
- `PwmHz::get_period`: fix computation of return value, prevent division by zero
1314
- apply #[inline] attribute to bitbanding functions [#517]
1415
- update `stm32f4` to 0.15.1 [#481]
1516
- use `stm32_i2s_v12x` version 0.3, reexport it, and implements requirement for it [#490]

examples/st7789-lcd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn main() -> ! {
7575
chip_select: ChipSelect1(gpiod.pd7.into_alternate()),
7676
};
7777
let lcd_reset = gpiod.pd11.into_push_pull_output();
78-
let mut backlight_control = gpiof.pf5.into_push_pull_output();
78+
let backlight_control = gpiof.pf5.into_push_pull_output();
7979

8080
// Speed up timing settings, assuming HCLK is 100 MHz (1 cycle = 10 nanoseconds)
8181
// These read timings work to read settings, but slower timings are needed to read from the

0 commit comments

Comments
 (0)