Minor changes
This commit is contained in:
parent
e1ac78fcd7
commit
16d10ff115
@ -123,7 +123,7 @@ extern u8 tx_gain_group[];
|
|||||||
extern void *tls_wl_init(u8 *tx_gain, u8 *mac_addr, u8 *hwver);
|
extern void *tls_wl_init(u8 *tx_gain, u8 *mac_addr, u8 *hwver);
|
||||||
extern int wpa_supplicant_init(u8 *mac_addr);
|
extern int wpa_supplicant_init(u8 *mac_addr);
|
||||||
extern void tls_sys_auto_mode_run(void);
|
extern void tls_sys_auto_mode_run(void);
|
||||||
extern void user_main(void);
|
extern void user_main(void*);
|
||||||
extern void tls_bt_entry();
|
extern void tls_bt_entry();
|
||||||
|
|
||||||
void task_start (void *data);
|
void task_start (void *data);
|
||||||
@ -260,7 +260,8 @@ int main(void)
|
|||||||
csi_vic_set_wakeup_irq(TIMER_IRQn);
|
csi_vic_set_wakeup_irq(TIMER_IRQn);
|
||||||
csi_vic_set_wakeup_irq(WDG_IRQn);
|
csi_vic_set_wakeup_irq(WDG_IRQn);
|
||||||
/*configure wake up source end*/
|
/*configure wake up source end*/
|
||||||
TaskStartStk = tls_mem_alloc(sizeof(u32)*TASK_START_STK_SIZE);
|
|
||||||
|
TaskStartStk = tls_mem_alloc(sizeof(u32)*TASK_START_STK_SIZE);
|
||||||
if (TaskStartStk)
|
if (TaskStartStk)
|
||||||
{
|
{
|
||||||
tls_os_task_create(&tststarthdl, "StrtTsk",
|
tls_os_task_create(&tststarthdl, "StrtTsk",
|
||||||
@ -275,7 +276,7 @@ int main(void)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -466,4 +467,3 @@ void task_start (void *data)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user