This commit is contained in:
Martin Brodbeck 2024-02-07 09:34:03 +01:00
parent 3c0a6cd1c7
commit a40d9e0e5a

View file

@ -19,10 +19,10 @@ int main()
Settings settings;
settings.mode = Mode::IAMBIC_A;
store_settings(settings);
printf("Iambic mode (stored): %d", static_cast<int>(settings.mode));
printf("Iambic mode (stored): %d\n", static_cast<int>(settings.mode));
sleep_ms(1000);
Settings newSettings = read_settings();
printf("Iambic mode (loaded): %d", static_cast<int>(newSettings.mode));
printf("Iambic mode (loaded): %d\n", static_cast<int>(newSettings.mode));
while(true) {
sleep_ms(1000);