mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
now you can turn on and off the LED
This commit is contained in:
parent
3427a9d09b
commit
043fc06804
1 changed files with 1 additions and 2 deletions
|
|
@ -210,8 +210,7 @@ impl Repl {
|
|||
|
||||
let prog = pin_control_code();
|
||||
bio_ss.load_code(prog, 0, BioCore::Core0);
|
||||
|
||||
ctrl |= 0b0001; // Restart Core 0
|
||||
ctrl |= 0b0001_0001_0001;
|
||||
bio_ss.bio.wo(utra::bio_bdma::SFR_CTRL, ctrl);
|
||||
GPIO_CORE_INITIALIZED.store(true, Ordering::Relaxed);
|
||||
crate::println!("GPIO control core is running.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue