Clone working project structure into a less "experimental" form
This commit is contained in:
parent
75e2493961
commit
d4e2606890
7 changed files with 481 additions and 0 deletions
harrogate/src
16
harrogate/src/main.rs
Normal file
16
harrogate/src/main.rs
Normal file
|
@ -0,0 +1,16 @@
|
|||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use lights_hal::{boot, entry};
|
||||
|
||||
pub use lights_hal::delay;
|
||||
|
||||
mod door_light;
|
||||
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
let mut lights = boot();
|
||||
|
||||
#[cfg(not(feature = "replace-default"))]
|
||||
door_light::run(&mut lights);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue