Skip to content

Commit

Permalink
kill unprogrammed channel boooo tone
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansaraev committed Nov 14, 2017
1 parent 0c063e1 commit 7dbeb23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions applet/src/beep.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "addl_config.h"
#include "beep.h"
#include "debug.h"
#include "display.h"
#include "mbox.h"
#include "os.h"

Expand Down Expand Up @@ -156,6 +157,11 @@ void * beep_OSMboxPend_hook(OS_EVENT *pevent, uint32_t timeout, int8_t *perr)
case BEEP_TEST_3 :
bp_beep(3);
break ;
case 15:
if (gui_opmode3 == 3) {
// unprogrammed. kill unprogrammed channel boooo tone
return 0;
}
default:
return ret ;
}
Expand Down

0 comments on commit 7dbeb23

Please sign in to comment.