Skip to content

Conversation

@TheButlah
Copy link
Collaborator

@TheButlah TheButlah commented Jan 19, 2023

Code runs but fails to ack. WIP.

@TheButlah TheButlah changed the title WIP, code runs but fails to ack Add bno080 support Jan 19, 2023
/// Loads a board config from a file
fn from_file(p: &Path) -> Result<Self> {
let s = std::fs::read_to_string(p).wrap_err("Failed to read board toml")?;
let s = std::fs::read_to_string(p.clone())

Check failure

Code scanning / clippy

using `clone` on a double-reference; this will copy the reference of type `&std::path::Path` instead of cloning the inner type

using `clone` on a double-reference; this will copy the reference of type `&std::path::Path` instead of cloning the inner type
@TheButlah
Copy link
Collaborator Author

Possibly related: esp-rs/esp-hal#352

@TheButlah
Copy link
Collaborator Author

Need to break dotenv stuff into a separate pr

@TheButlah TheButlah added Area: Firmware Relating to the firmware subprojct Type: Enhancement A new feature or improvement labels Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Firmware Relating to the firmware subprojct Type: Enhancement A new feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants