From ef65a168500b90a2df2047a4882094aa54f48d4c Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 27 Aug 2012 14:38:15 +0000 Subject: [PATCH] Issue 114 fixed --- src/beeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beeper.cpp b/src/beeper.cpp index cb50396c1..0652fa358 100644 --- a/src/beeper.cpp +++ b/src/beeper.cpp @@ -53,7 +53,7 @@ static const pm_uint8_t beepTab[] PROGMEM = { void beep(uint8_t val) { #if defined(HAPTIC) - haptic.event(val==0 ? 0 : AU_TIMER_10+beepAgain); + haptic.event(val==0 ? AU_KEYPAD_UP : (val==4 ? AU_ERROR : AU_TIMER_10+beepAgain)); #endif if(g_eeGeneral.flashBeep && val > 1 && g_LightOffCounter < FLASH_DURATION) g_LightOffCounter = FLASH_DURATION;