changeset 269:b6aef2688d6c

l1audio_sync.c: l1s_keybeep_manager() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Mar 2017 05:57:53 +0000
parents 67b777cee725
children ac232fc44bfc
files chipsetsw/layer1/audio_cfile/l1audio_sync.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/audio_cfile/l1audio_sync.c	Mon Mar 13 05:53:30 2017 +0000
+++ b/chipsetsw/layer1/audio_cfile/l1audio_sync.c	Mon Mar 13 05:57:53 2017 +0000
@@ -1492,9 +1492,12 @@
         IDLE                 = 0,
 #if (L1_AUDIO_MCU_ONOFF == 1)
         WAIT_AUDIO_ON        = 1,
-#endif
         WAIT_KEYBEEP_START   = 2,
         WAIT_KEYBEEP_STOP    = 3
+#else
+        WAIT_KEYBEEP_START   = 1,
+        WAIT_KEYBEEP_STOP    = 2
+#endif
       };
 
       UWORD8            *state      = &l1s.audio_state[L1S_KEYBEEP_STATE];