Commit 552c25aff62ceb705fc3940cf78d9fd12c0fc7fd
1 parent
2cc0a8ab
style(debug pin):disable debug pin
Showing
3 changed files
with
7 additions
and
13 deletions
| ... | ... | @@ -1530,8 +1530,8 @@ void taskDec(void *pvParameters) |
| 1530 | 1530 | #endif |
| 1531 | 1531 | |
| 1532 | 1532 | pDacbuf = wait_decode_event(); |
| 1533 | - | |
| 1534 | -/******************receive and deal with command*****************************/ | |
| 1533 | + | |
| 1534 | + /******************receive and deal with command*****************************/ | |
| 1535 | 1535 | if (xQueueReceive(qDEC, (void *)&uMsg,0) == pdPASS) |
| 1536 | 1536 | { |
| 1537 | 1537 | switch(uMsg.msg) |
| ... | ... | @@ -1748,10 +1748,7 @@ void taskDec(void *pvParameters) |
| 1748 | 1748 | #endif |
| 1749 | 1749 | |
| 1750 | 1750 | //optek_hifi2_24b_to_16b(pDacbuf,pDacbuf,(samples<<1)); |
| 1751 | - if (decode_type == DECODE_PCM) | |
| 1752 | - csbm_put_tx_unencoded_data(pOut,AD_PCM_BLOCK_SIZE); | |
| 1753 | - else | |
| 1754 | - csbm_put_tx_unencoded_data(pOut,len); | |
| 1751 | + csbm_put_tx_unencoded_data(pOut,len); | |
| 1755 | 1752 | |
| 1756 | 1753 | #if 0//(SHARE_LINK_MODE != SL_TWO_WAY_AV && SHARE_LINK_MODE != SL_TWO_WAY_VV) |
| 1757 | 1754 | fifo_put_data(&audio_delay_fifo,pDacbuf,samples<<2); |
| ... | ... | @@ -1762,8 +1759,7 @@ void taskDec(void *pvParameters) |
| 1762 | 1759 | } |
| 1763 | 1760 | #endif |
| 1764 | 1761 | #endif |
| 1765 | - //DBG_PIN_HIGH; | |
| 1766 | - //DBG_PIN_LOW; | |
| 1762 | + | |
| 1767 | 1763 | if (pOut_up != NULL) |
| 1768 | 1764 | { |
| 1769 | 1765 | play_chan = 1; | ... | ... |
| ... | ... | @@ -7,9 +7,9 @@ |
| 7 | 7 | #include "hw_uart.h" |
| 8 | 8 | |
| 9 | 9 | |
| 10 | -#define DEBEG_PIN GPIO0_09_INDEX | |
| 10 | +#define DEBEG_PIN GPIO_UNDEFINE_INDEX//GPIO0_09_INDEX | |
| 11 | 11 | #define DEBEG_PIN2 GPIO_UNDEFINE_INDEX//GPIO0_10_INDEX//uart1 tx |
| 12 | -#define DEBEG_PIN3 GPIO0_02_INDEX//GPIO0_11_INDEX//uart1 rx | |
| 12 | +#define DEBEG_PIN3 GPIO_UNDEFINE_INDEX//GPIO0_02_INDEX//GPIO0_11_INDEX//uart1 rx | |
| 13 | 13 | |
| 14 | 14 | //#define PC_DEBUG |
| 15 | 15 | #define _DEBUG | ... | ... |
Please
register
or
login
to post a comment