comparison chipsetsw/layer1/audio_cfile/l1audio_sync.c @ 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
comparison
equal deleted inserted replaced
268:67b777cee725 269:b6aef2688d6c
1490 enum states 1490 enum states
1491 { 1491 {
1492 IDLE = 0, 1492 IDLE = 0,
1493 #if (L1_AUDIO_MCU_ONOFF == 1) 1493 #if (L1_AUDIO_MCU_ONOFF == 1)
1494 WAIT_AUDIO_ON = 1, 1494 WAIT_AUDIO_ON = 1,
1495 #endif
1496 WAIT_KEYBEEP_START = 2, 1495 WAIT_KEYBEEP_START = 2,
1497 WAIT_KEYBEEP_STOP = 3 1496 WAIT_KEYBEEP_STOP = 3
1497 #else
1498 WAIT_KEYBEEP_START = 1,
1499 WAIT_KEYBEEP_STOP = 2
1500 #endif
1498 }; 1501 };
1499 1502
1500 UWORD8 *state = &l1s.audio_state[L1S_KEYBEEP_STATE]; 1503 UWORD8 *state = &l1s.audio_state[L1S_KEYBEEP_STATE];
1501 xSignalHeaderRec *conf_msg; 1504 xSignalHeaderRec *conf_msg;
1502 1505