aboutsummaryrefslogtreecommitdiffstats
path: root/demos/TIVA
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-11-18 21:55:39 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2015-11-18 21:55:39 +0100
commit653a9616ba1b398a2b48373144951b835ef16c60 (patch)
tree9c655ef98da8a7e9d96095bfad7ffcb2aff87c42 /demos/TIVA
parent756788580ecbb890c378eaa0e0196d0ea53c4fb2 (diff)
downloadChibiOS-Contrib-653a9616ba1b398a2b48373144951b835ef16c60.tar.gz
ChibiOS-Contrib-653a9616ba1b398a2b48373144951b835ef16c60.tar.bz2
ChibiOS-Contrib-653a9616ba1b398a2b48373144951b835ef16c60.zip
Tiva. Demo. Fixed lwip related changes in RT-TM4C1294-LAUNCHPAD-LWIP demo.
Diffstat (limited to 'demos/TIVA')
-rw-r--r--demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/main.c b/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/main.c
index 141579a..88b5ea7 100644
--- a/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/main.c
+++ b/demos/TIVA/RT-TM4C1294-LAUNCHPAD-LWIP/main.c
@@ -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.
@@ -41,12 +43,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).
*/
chThdCreateStatic(wa_http_server, sizeof(wa_http_server), NORMALPRIO + 1,