update user_main
This commit is contained in:
@@ -19,9 +19,6 @@ void switch_handler(void);
|
||||
void flag_handler();
|
||||
/* 改动原因:固件升级 START 在 AudioHwRemote2 处理,需传入 c_dfu;其余升级命令在 process_send_params 直接处理 */
|
||||
void AudioHwRemote(streaming chanend c, client interface c1_led_ctrl_if i_c1_led_ctrl, chanend c_erase, streaming chanend c_dfu);
|
||||
void uart_handler(streaming chanend c_tx, streaming chanend c_rx);
|
||||
void uart_tx_handler(streaming chanend c_tx);
|
||||
void uart_rx_handler(streaming chanend c_rx);
|
||||
void i2s_driver(chanend c);
|
||||
extern unsafe chanend uc_i2s;
|
||||
extern unsafe chanend uc_br_data;
|
||||
@@ -39,8 +36,7 @@ extern unsafe streaming chanend uc_dfu;
|
||||
extern void fps1_dsp_proc_task(void);
|
||||
extern void fps2_dsp_proc_task(void);
|
||||
|
||||
#define USER_MAIN_DECLARATIONS streaming chan c_rx; streaming chan c_tx; \
|
||||
chan c_i2s; chan c_data_transport, cc_br_eof, c_eq_data, c_validate; \
|
||||
#define USER_MAIN_DECLARATIONS chan c_i2s; chan c_data_transport, cc_br_eof, c_eq_data, c_validate; \
|
||||
streaming chan c_audiohw; streaming chan c_dfu; interface c1_led_ctrl_if i_c1_led_ctrl; \
|
||||
chan c_usb_to_io; chan c_io_to_usb; chan c_io_to_dspL; chan c_dspL_to_io; chan c_io_to_dspR; chan c_dspR_to_io; \
|
||||
chan c_erase;
|
||||
@@ -54,7 +50,6 @@ extern void fps2_dsp_proc_task(void);
|
||||
uc_dfu = (chanend) c_dfu;\
|
||||
} \
|
||||
flag_handler(); \
|
||||
uart_handler(c_tx, c_rx);\
|
||||
}\
|
||||
on tile[0]: {\
|
||||
AudioHwRemote(c_audiohw, i_c1_led_ctrl, c_erase, c_dfu);\
|
||||
@@ -63,8 +58,6 @@ extern void fps2_dsp_proc_task(void);
|
||||
dsp_core0();\
|
||||
} \
|
||||
\
|
||||
on tile[1]: uart_tx_handler(c_tx); \
|
||||
on tile[1]: uart_rx_handler(c_rx); \
|
||||
on tile[1]: app_control_slave(i_c1_led_ctrl, c_eq_data); \
|
||||
\
|
||||
|
||||
|
||||
Reference in New Issue
Block a user