mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
correct crate name
This commit is contained in:
parent
c4cc515666
commit
aa907e9f20
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ fn main() -> ! {
|
|||
// ! is the 'never' type: this function never returns
|
||||
|
||||
// initializes the peripherals
|
||||
dk::init().unwrap();
|
||||
dk_bsc::init().unwrap();
|
||||
|
||||
defmt::println!("Hello, world!"); // :wave:
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ fn main() -> ! {
|
|||
// to enable more verbose logs, go to your `Cargo.toml` and set defmt logging levels
|
||||
// to `defmt-trace` by changing the `default = []` entry in `[features]`
|
||||
|
||||
let board = dk_template::init().unwrap();
|
||||
let board = dk_bsc::init().unwrap();
|
||||
|
||||
let button_1 = board.buttons.b_1;
|
||||
let mut uarte = board.uarte;
|
||||
|
|
Loading…
Reference in a new issue