Merge pull request #1725 from MRprusa3d/PFW-820

Sound @ MK2
This commit is contained in:
PavelSindler 2019-04-12 22:00:02 +02:00 committed by GitHub
commit 6797725c02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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