Merge pull request #2072 from kuhnmarek/MK3_PFW-961_blind_sound

changed blind sound
This commit is contained in:
DRracer 2019-08-05 12:47:31 +02:00 committed by GitHub
commit 9f8590c572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,10 +135,15 @@ switch(eSoundMode)
static void Sound_DoSound_Blind_Alert(void) static void Sound_DoSound_Blind_Alert(void)
{ {
_tone(BEEPER,300); uint8_t nI;
_delay_ms(75);
_noTone(BEEPER); for(nI=0; nI<20; nI++)
_delay_ms(75); {
WRITE(BEEPER,HIGH);
delayMicroseconds(94);
WRITE(BEEPER,LOW);
delayMicroseconds(94);
}
} }
static void Sound_DoSound_Encoder_Move(void) static void Sound_DoSound_Encoder_Move(void)