This commit is contained in:
Martin Brodbeck 2024-02-15 10:03:54 +01:00
parent 026b1d0406
commit 5438021682

View file

@ -89,7 +89,7 @@ void core1_main()
int main() int main()
{ {
//timer_hw->dbgpause = 0; // workaround for problem with debug and sleep_ms timer_hw->dbgpause = 1; // workaround for problem with debug and sleep_ms
// https://github.com/raspberrypi/pico-sdk/issues/1152#issuecomment-1418248639 // https://github.com/raspberrypi/pico-sdk/issues/1152#issuecomment-1418248639
setup(); setup();
@ -97,6 +97,7 @@ int main()
printf("Hello from core0!\n"); printf("Hello from core0!\n");
Settings settings{read_settings()}; Settings settings{read_settings()};
settings.wpm = 25; // TODO: remove!
queue_init(&keyerQueue, sizeof(KeyerQueueData), 2); queue_init(&keyerQueue, sizeof(KeyerQueueData), 2);
multicore_reset_core1(); multicore_reset_core1();