Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: verification.cpp
- Revision:
- 35:0b434ef4af49
- Parent:
- 34:eaca33d3e632
- Child:
- 38:cb95bfe0546a
diff -r eaca33d3e632 -r 0b434ef4af49 verification.cpp
--- a/verification.cpp	Thu Sep 26 11:51:03 2013 +0000
+++ b/verification.cpp	Thu Sep 26 12:56:01 2013 +0000
@@ -65,7 +65,7 @@
 
         sprintf( command_str, "R %ld %ld\r\n", read_size, size );
 //        try_and_check( command_str, "0", MODE_SILENT );
-        if ( try_and_check( command_str, "0", 0 ) )
+        if ( try_and_check( command_str, "0" ) )
             return ( ERROR_AT_READ_COMMAND );
 
         get_binary( br, 1 );
@@ -130,7 +130,7 @@
         }
 
         sprintf( command_str, "R %ld %ld\r\n", read_size, size );
-        if ( try_and_check( command_str, "0", 0 ) )
+        if ( try_and_check( command_str, "0" ) )
             return ( ERROR_AT_READ_COMMAND );
 
         get_binary_from_uucode_str( br, size );
    