Sound @ MK2

step 4 (Sound_Init() update)
This commit is contained in:
MRprusa3d 2019-04-12 21:46:39 +02:00
parent 270bed423e
commit 265c9592e0
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ static void Sound_DoSound_Prompt(void);
void Sound_Init(void)
{
SET_OUTPUT(BEEPER);
eSoundMode=(eSOUND_MODE)eeprom_read_byte((uint8_t*)EEPROM_SOUND_MODE);
if(eSoundMode==e_SOUND_MODE_NULL)
Sound_Default(); // je potreba provest i ulozeni do EEPROM