Skip to content

Commit 93a4486

Browse files
committed
Add successful flash led
Signed-off-by: Petr Horacek <petr@zlosynth.com>
1 parent 8fbeb31 commit 93a4486

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

firmware/src/bin/firmware.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,17 @@ mod app {
9090

9191
let system = System::init(cx.core, cx.device);
9292
let mono = system.mono;
93-
let status_led = system.status_led;
93+
let mut status_led = system.status_led;
9494
let sdram = system.sdram;
9595
let mut audio = system.audio;
9696
let randomizer = system.randomizer;
9797
let mut inputs = system.inputs;
9898
let flash = system.flash;
9999
let mut outputs = system.outputs;
100100

101+
// Signalize that the firmware is uploaded.
102+
status_led.on();
103+
101104
let processor = initialize_dsp_processor(sdram);
102105
let mut storage = Storage::new(flash);
103106
let (control, save) = initialize_control_store(&mut inputs, &mut storage, system.frequency);

0 commit comments

Comments
 (0)