diff --git a/src/gpio.rs b/src/gpio.rs index b80435a5..0b59ae91 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -77,6 +77,9 @@ pub enum State { Low, } +// Using SCREAMING_SNAKE_CASE to be consistent with other HALs +// see 59b2740 and #125 for motivation +#[allow(non_camel_case_types)] #[derive(Debug, PartialEq)] pub enum Edge { RISING,