nova verzija tcp+udp->serial com

Revision:
22:11279d24a105
Parent:
18:5ee53205451a
Child:
24:ec9446d86668
diff -r 2232f5a34eb4 -r 11279d24a105 DataFlash/dataFlash.cpp
--- a/DataFlash/dataFlash.cpp	Mon May 25 22:19:36 2020 +0200
+++ b/DataFlash/dataFlash.cpp	Thu Jun 11 10:41:11 2020 +0200
@@ -38,11 +38,11 @@
 }
 
 
-void init_FlashData( void )
+int doinit_FlashData( void )
 {
-   init_fdb( );
-   readDataFromFlash( gps_rd );
-
+   if( init_fdb( ) ) return 1;
+   else readDataFromFlash( gps_rd );
+   return 0;
 }