Finalised visuals for part10

This commit is contained in:
Adam Greenwood-Byrne 2021-02-23 16:27:12 +00:00
parent 89f33b4b83
commit c721e6405f

View file

@ -211,20 +211,21 @@ void core2_main(void)
if (core2_val < 100) core2_val++;
}
debugstr("done");
drawProgress(2, 100);
}
void core1_main(void)
{
unsigned int core1_val = 0;
clear_core1(); // Only run once
drawProgress(1, 50);
debugstr("Playing on CPU Core #1... ");
playaudio_cpu();
debugstr("done"); debugcrlf();
core1_val = 100;
drawProgress(1, core1_val);
drawProgress(1, 100);
start_core2(core2_main); // Kick it off on core 2
}