distinguish decembers

This commit is contained in:
Tangent Wantwight 2019-12-21 16:36:22 -05:00
parent b9689fddb9
commit f75473b532
3 changed files with 5 additions and 4 deletions

View file

@ -13,7 +13,7 @@ debug = true
replace-default = []
december-2019 = ["replace-default"]
december-01-2019 = ["replace-default"]
[dependencies]
house = { path = "../house" }

View file

@ -1,3 +1,4 @@
//! Streamers of white on a shifting color backdrop
use super::delay;
use house::Harrogate;
use lights::rgb::{blend, blend_steps, linear_gradient, Rgb};

View file

@ -5,15 +5,15 @@ use lights_hal::{boot, entry};
pub use lights_hal::delay;
mod december_2019;
mod december_01_2019;
mod door_light;
#[entry]
fn main() -> ! {
let mut lights = boot();
#[cfg(feature = "december-2019")]
december_2019::run(&mut lights);
#[cfg(feature = "december-01-2019")]
december_01_2019::run(&mut lights);
#[cfg(not(feature = "replace-default"))]
door_light::run(&mut lights);