code cleanup
This commit is contained in:
parent
a877a2f81f
commit
6625c5c787
1 changed files with 3 additions and 7 deletions
|
@ -36,17 +36,13 @@ void setup()
|
|||
|
||||
int main()
|
||||
{
|
||||
timer_hw->dbgpause = 0; // fix problem with debug and sleep_ms https://github.com/raspberrypi/pico-sdk/issues/1152#issuecomment-1418248639
|
||||
timer_hw->dbgpause = 0; // workaround for problem with debug and sleep_ms
|
||||
// https://github.com/raspberrypi/pico-sdk/issues/1152#issuecomment-1418248639
|
||||
|
||||
setup();
|
||||
|
||||
Settings settings{read_settings()};
|
||||
|
||||
// printf("\nIambic mode (loaded): %d\n", static_cast<int>(settings.mode));
|
||||
// printf("WPM (loaded): %d\n", settings.wpm);
|
||||
// printf("Element duration (u_sec): %" PRIu64 "\n", element_duration_us(settings.wpm));
|
||||
printf("\n");
|
||||
|
||||
Keyer keyer(settings.wpm, settings.mode);
|
||||
|
||||
while (true)
|
||||
|
|
Loading…
Reference in a new issue