nova proba

Revision:
16:c4e0e8b4d8fc
Parent:
13:03617f6ed112
Child:
18:5ee53205451a
diff -r 4535e7ed4585 -r c4e0e8b4d8fc main.cpp
--- a/main.cpp	Sun May 03 01:35:52 2020 +0200
+++ b/main.cpp	Sun May 03 19:39:27 2020 +0200
@@ -74,19 +74,22 @@
 
    extern EthernetInterface *gp_eth;
 
-   gp_eth = ethernet_setup(  );
+   init_EthToScom(  );
+
+//    gp_eth = ethernet_setup(  );
+     inic_TcpServerToFlash(  );
 
-    if(gp_eth == NULL) printf("ethernet greska\n\r"); 
-    else 
-    {
-      printf("eth OK\n\r");
-      scomRxThreadRiseUp(  );
-      udpRxThreadRiseUp(  );
+//     if(gp_eth == NULL) printf("ethernet greska\n\r"); 
+//     else 
+//     {
+//       printf("eth OK\n\r");
+//       scomRxThreadRiseUp(  );
+//       udpRxThreadRiseUp(  );
 
-//#if NO_UDP <= 1
-    inic_TcpServerToFlash(  );
-//#endif
-    }
+// //#if NO_UDP <= 1
+//     inic_TcpServerToFlash(  );
+// //#endif
+//     }
     
 extern void test_HTML(void);
 //    test_HTML( );