mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
kernel: gdb_server: fix clippy warnings
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
68f5e81d3f
commit
b6f706411b
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ impl MultiThreadOps for XousTarget {
|
|||
unsafe { HALTED = false };
|
||||
match default_resume_action {
|
||||
ResumeAction::Step | ResumeAction::StepWithSignal(_) => {
|
||||
Err("single-stepping not supported")?
|
||||
return Err("single-stepping not supported")
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
@ -380,7 +380,7 @@ impl core::fmt::Write for GUart {
|
|||
let hex = b"0123456789abcdef";
|
||||
let c = c as usize;
|
||||
let checksum = putc(checksum, hex[(c >> 4) & 0xf]);
|
||||
putc(checksum, hex[(c >> 0) & 0xf])
|
||||
putc(checksum, hex[c & 0xf])
|
||||
}
|
||||
|
||||
// Can't write when we're halted
|
||||
|
|
|
|||
Loading…
Reference in a new issue