holiday_lights/harrogate/src/main.rs

21 lines
333 B
Rust
Raw Normal View History

#![no_std]
#![no_main]
use lights_hal::{boot, entry};
pub use lights_hal::delay;
2019-11-23 23:55:21 +00:00
mod december_2019;
mod door_light;
#[entry]
fn main() -> ! {
let mut lights = boot();
2019-11-23 23:55:21 +00:00
#[cfg(feature = "december-2019")]
december_2019::run(&mut lights);
#[cfg(not(feature = "replace-default"))]
door_light::run(&mut lights);
}