/*--------------------------------------------------------------------------- TITLE : Main_Init WORK : ARG : void RET : void ---------------------------------------------------------------------------*/ void Main_Init( void ) { Hw_Init(); Ap_Init(); Hw_Timer_Set ( HW_TIMER_CH_LED, 1000, LOOP_TIME, LED_Tick, NULL ); Hw_Timer_Start( HW_TIMER_CH_LED ); }
BOOL If_Init(PWLAN_ADAPTER Adapter) { BOOL rc = Hw_Init(); if (!rc) If_Deinit(Adapter); pWlanInterruptCallback = If_OnIoIntr; return rc; }
/*--------------------------------------------------------------------------- TITLE : Main_Init WORK : ARG : void RET : void ---------------------------------------------------------------------------*/ void Main_Init( void ) { HAL_Init(); Hw_Init(); }