Add serial support. #365
Annotations
3 errors and 1 warning
Run Clippy:
crates/flipperzero/src/lib.rs#L9
error: unused import: `info`
--> flipperzero/src/serial.rs:9:26
|
9 | use crate::{debug, furi, info, trace, warn};
| ^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
Run Clippy:
crates/flipperzero/src/lib.rs#L15
error: you should consider adding a `Default` implementation for `EventFlag`
--> flipperzero/src/furi/event_flag.rs:15:5
|
15 | / pub fn new() -> Self {
16 | | Self {
17 | | // SAFETY: Alloc always returns valid non-null pointer or triggers `furi_crash`.
18 | | raw: unsafe { NonNull::new_unchecked(sys::furi_event_flag_alloc()) },
19 | | }
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
14 + impl Default for EventFlag {
15 + fn default() -> Self {
16 + Self::new()
17 + }
18 + }
|
|
Run Clippy
error: aborting due to 2 previous errors
|
Run Clippy
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
|
Loading