Skip to content

Create 'xe125' radar module example with SPI adapter #6

Create 'xe125' radar module example with SPI adapter

Create 'xe125' radar module example with SPI adapter #6

GitHub Actions / clippy succeeded Feb 16, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (3)

target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs|481 col 23| error: approximate value of f{32, 64}::consts::PI found
--> /home/runner/work/a121-rs/a121-rs/target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs:481:23
|
481 | pub const M_PI: f64 = 3.141592653589793;
| ^^^^^^^^^^^^^^^^^
|
= help: consider using the constant directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
= note: #[deny(clippy::approx_constant)] on by default
target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs|482 col 40| error: approximate value of f{32, 64}::consts::PI found
--> /home/runner/work/a121-rs/a121-rs/target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs:482:40
|
482 | pub const ACC_ALG_BASIC_MATH_PI: f64 = 3.141592653589793;
| ^^^^^^^^^^^^^^^^^
|
= help: consider using the constant directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs|503 col 10| warning: name FILE contains a capitalized acronym
--> /home/runner/work/a121-rs/a121-rs/target/thumbv7em-none-eabihf/debug/build/a121-rs-e9a5595b89e55088/out/bindings.rs:503:10
|
503 | pub type FILE = __FILE;
| ^^^^ help: consider making the acronym lowercase, except the initial letter: File
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
= note: #[warn(clippy::upper_case_acronyms)] on by default