Official support library for using mbed as a programmable coprocessor in the Innomatix DAP-III+ telematics platform
Diff: Main.cpp
- Revision:
- 4:fd93c4cb05df
- Parent:
- 1:c7920c8bc557
- Child:
- 8:a6311d40c5a2
--- a/Main.cpp Sun Apr 17 15:51:59 2016 +0000 +++ b/Main.cpp Wed Sep 28 19:53:11 2016 +0000 @@ -18,7 +18,7 @@ #include "InnomatixCanAPI.h" #include "InnomatixMeta.h" -#define APPVERS "1.0.3" +#define APPVERS "1.0.4" #define APPDESC "Coprocessor example application" @@ -58,7 +58,7 @@ eUpdateResult = PerformUpdate( 1000 ); if( statusNoConnection == eUpdateResult ) { - // timeout connecting to server, try again + // timeout connecting to server, try again count++; }else if( statusSuccess == eUpdateResult ) { @@ -85,9 +85,6 @@ /*************************************************************************/ int main() { - char str[ 128 ] = {0}; - int count = 0; - console.baud(115200); printf( "===========================================\r\n" ); @@ -98,7 +95,7 @@ printf( "===========================================\r\n" ); SystemUpdate(); - + DoExample( APPVERS ); error( "Coprocessor exited main loop, waiting to die\r\n" );