Skip to content

Commit c900f83

Browse files
author
Olle Ronstad
committed
Fixed misc errors in ci
1 parent 2c8f338 commit c900f83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtic-monotonics/src/systick.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl SystickBackend {
7474
/// Use the prelude macros instead.
7575
pub fn _start(mut systick: SYST, sysclk: u32, timer_hz: u32) {
7676
assert!(
77-
(sysclk % timer_hz) == 0,
77+
sysclk.is_multiple_of(timer_hz),
7878
"timer_hz cannot evenly divide sysclk! Please adjust the timer or sysclk frequency."
7979
);
8080
let reload = sysclk / timer_hz - 1;

rtic/ui/task-reference-in-spawn.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error[E0521]: borrowed data escapes outside of function
22
--> ui/task-reference-in-spawn.rs:3:1
33
|
4-
3 | #[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0, GPIOA])]
4+
3 | #[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0, GPIOA])]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
| |
77
| `_0` is a reference that is only valid in the function body

0 commit comments

Comments
 (0)