()
| 25 | /// Creates the rppal GPIO backend when the rpi feature is compiled in. |
| 26 | #[cfg(feature = "rpi")] |
| 27 | fn setup_gpio_pins_rppal() -> Result<Rc<RefCell<dyn gpio::Pins>>> { |
| 28 | Ok(Rc::new(RefCell::new(endbasic_rpi::RppalPins::default()))) |
| 29 | } |
| 30 | |
| 31 | /// Errors out for rppal when the rpi feature is not compiled in. |
| 32 | #[cfg(not(feature = "rpi"))] |