Tiva. Demo. Fixed lwip related changes in RT-TM4C1294-LAUNCHPAD-LWIP demo.

This commit is contained in:
marcoveeneman 2015-11-18 21:55:39 +01:00
parent 756788580e
commit 653a9616ba
1 changed files with 2 additions and 6 deletions

View File

@ -30,9 +30,11 @@ int main(void)
* and performs the board-specific initializations.
* - Kernel initialization, the main() function becomes a thread and the
* RTOS is active.
* - lwIP subsystem initialization using the default configuration.
*/
halInit();
chSysInit();
lwipInit(NULL);
/*
* Start the serial driver with the default configuration.
@ -40,12 +42,6 @@ int main(void)
*/
sdStart(&SD1, NULL);
/*
* Creates the LWIP threads (it changes priority internally).
*/
chThdCreateStatic(wa_lwip_thread, LWIP_THREAD_STACK_SIZE, NORMALPRIO + 2,
lwip_thread, NULL);
/*
* Creates the HTTP thread (it changes priority internally).
*/