diff --git a/examples/embedded_linux_epd4in2/src/main.rs b/examples/embedded_linux_epd4in2/src/main.rs index eb7b102..b79ce1a 100644 --- a/examples/embedded_linux_epd4in2/src/main.rs +++ b/examples/embedded_linux_epd4in2/src/main.rs @@ -61,8 +61,12 @@ impl<'a> InputPin for HackInputPin<'a> { * BE CAREFUL: this wasn't tested yet, and the pins are also not choosen correctly (just some random ones atm) * */ +fn main() { + run().map_err(|e| println!("{:?}", e.to_string())); +} + -fn main() -> Result<(), std::io::Error> { +fn run() -> Result<(), std::io::Error> { // Configure SPI // Settings are taken from