code clean up and added comments

This commit is contained in:
2025-05-30 09:17:55 -04:00
parent 5184d5c744
commit 94ea767285
8 changed files with 104 additions and 93 deletions
+6 -1
View File
@@ -9,17 +9,22 @@
int main() {
stdio_init_all();
// setup multicore processes
multicore_reset_core1();
multicore_launch_core1(core1_main);
// allow core 1 to pause core 0
// this is needed to allow saving network config to flash
multicore_lockout_victim_init();
// run USB HID device on core 0
run_hid_device();
}
void core1_main() {
// run HTTP services on core 1
run_http_server();
}