changeset 270:ac232fc44bfc

l1audio_sync.c: l1s_tone_manager() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 Mar 2017 06:01:56 +0000
parents b6aef2688d6c
children 473405ab23a3
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:57:53 2017 +0000
+++ b/chipsetsw/layer1/audio_cfile/l1audio_sync.c	Mon Mar 13 06:01:56 2017 +0000
@@ -1611,9 +1611,12 @@
 // Triton Audio ON/OFF Changes
 #if (L1_AUDIO_MCU_ONOFF== 1)
         WAIT_AUDIO_ON     = 1,
-#endif
         WAIT_TONE_START   = 2,
         WAIT_TONE_STOP    = 3
+#else
+        WAIT_TONE_START   = 1,
+        WAIT_TONE_STOP    = 2
+#endif
       };
 
       UWORD8            *state      = &l1s.audio_state[L1S_TONE_STATE];