From 1d62dc823b2af38e2436aa516a71f5d0ffa4786d Mon Sep 17 00:00:00 2001 From: Rahix Date: Sun, 12 May 2019 13:02:00 +0200 Subject: [PATCH] Fix mistake in lib.rs Signed-off-by: Rahix --- src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fb576ee..d95f3e4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,12 @@ cfg_if::cfg_if! { } } -#[cfg(any(feature = "attiny85", feature = "atmega32u4"))] +#[cfg(any( + feature = "atmega8", + feature = "atmega328p", + feature = "atmega32u4", + feature = "attiny85", +))] impl Peripherals { /// Returns all the peripherals *once* #[inline] -- 2.49.0