bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Diff: DataFlash/dataFlash.cpp
- Revision:
- 22:11279d24a105
- Parent:
- 18:5ee53205451a
- Child:
- 24:ec9446d86668
--- 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; }