Play end of jeopardy theme when switching off

This commit is contained in:
Thomas Kolb 2024-10-27 17:37:58 +01:00
parent 9f0bf9d405
commit bc8e454242

View file

@ -317,34 +317,39 @@ static void update_countdown_fsm(uint32_t time_ms)
sseg_set_char(0, '#', false); sseg_set_char(0, '#', false);
sseg_set_char(1, '#', false); sseg_set_char(1, '#', false);
sseg_set_char(2, '#', false); sseg_set_char(2, '#', false);
buzzer_on(3951);
break; break;
case 500: case 500:
sseg_set_char(0, '1', false); sseg_set_char(0, '1', false);
buzzer_on(4000); break;
case 750:
buzzer_on(3322);
break; break;
case 1000: case 1000:
sseg_set_char(0, ' ', false); sseg_set_char(0, ' ', false);
buzzer_on(2828); buzzer_on(2960);
break; break;
case 1500: case 1500:
sseg_set_char(1, '1', false); sseg_set_char(1, '1', false);
buzzer_on(2000); buzzer_on(2637);
break; break;
case 2000: case 2000:
sseg_set_char(1, ' ', false); sseg_set_char(1, ' ', false);
buzzer_on(1414); buzzer_on(2489);
break; break;
case 2500: case 2500:
sseg_set_char(2, '1', false); sseg_set_char(2, '1', false);
buzzer_on(1000); buzzer_on(2217);
break; break;
case 700: case 200:
case 950:
case 1200: case 1200:
case 1700: case 1700:
case 2200: case 2200: