embassy-stm32: Misc clippy fixes

This commit is contained in:
Grant Miller
2023-08-06 15:00:39 -05:00
parent 477a90b8e3
commit d49f40dd5c
11 changed files with 61 additions and 64 deletions

View File

@ -186,9 +186,8 @@ fn compute_dead_time_value(value: u16) -> (Ckd, u8) {
error = this_error;
}
match error {
0 => break,
_ => {}
if error == 0 {
break;
}
}