Tests for LWIPInterface

Dependencies:   LWIPInterface NSAPITests NetworkSocketAPI mbed-rtos mbed

Revision:
2:9181decb4d5c
Parent:
0:5290cb128aed
Child:
3:50ac0af2ea9c
--- a/main.cpp	Thu Mar 03 21:07:18 2016 +0000
+++ b/main.cpp	Wed Mar 09 07:04:37 2016 +0000
@@ -17,19 +17,18 @@
 #include "mbed.h"
 #include "LWIPInterface.h"
 #include "NSAPITests.h"
- 
+
 LWIPInterface iface;
- 
+
 int main()
 {
     int32_t result = iface.connect();
-    
+
     if (result) {
-        printf("Interface failed to connect with code %d\r\n", result);    
+        printf("Interface failed to connect with code %d\r\n", result);
     } else {
         nsapi_tests("BSDInterface Tests", &iface, "0.0.0.0", 4000);
         iface.disconnect();
     }
-    while(1) {   
-    }
+    while(1);
 }