main/task_sound.c

branch
novnc
changeset 38
537ffe280775
parent 4
6d1f512cd074
child 42
c6a1a6ca5437
--- a/main/task_sound.c	Thu May 02 11:57:07 2019 +0200
+++ b/main/task_sound.c	Thu May 02 17:12:06 2019 +0200
@@ -104,14 +104,11 @@
 	    xEventGroupClearBits(xEventGroupSound, SOUND_STARTUP);
 	}
 	if (uxBits & SOUND_PROMPT) {
-	    VncSoundBell();
 	    BuzzerPlay(_sound_Prompt);
 	    xEventGroupClearBits(xEventGroupSound, SOUND_PROMPT);
 	}
 	if (uxBits & SOUND_TEMPREACHED) {
-	    VncSoundBell();
 	    BuzzerPlay(_sound_TempReached);
-	    VncSoundBell();
 	    xEventGroupClearBits(xEventGroupSound, SOUND_TEMPREACHED);
 	}
 	if (uxBits & SOUND_TIMEOUT) {
@@ -119,11 +116,7 @@
 	    xEventGroupClearBits(xEventGroupSound, SOUND_TIMEOUT);
 	}
 	if (uxBits & SOUND_ADDHOP) {
-	    VncSoundBell();
-	    VncSoundBell();
 	    BuzzerPlay(_sound_AddHop);
-	    VncSoundBell();
-	    VncSoundBell();
 	    xEventGroupClearBits(xEventGroupSound, SOUND_ADDHOP);
 	}
 	if (uxBits & SOUND_END) {
@@ -131,7 +124,6 @@
 	    xEventGroupClearBits(xEventGroupSound, SOUND_END);
 	}
 	if (uxBits & SOUND_WARN) {
-	    VncSoundBell();
 	    BuzzerPlay(_sound_Warn);
 	    xEventGroupClearBits(xEventGroupSound, SOUND_WARN);
 	}

mercurial