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: EthernetInterface GraphicOLED NokiaLCD mbed-rtos mbed picojson
Revision 1:19589c30cc74, committed 2014-12-17
- Comitter:
 - mia_0032
 - Date:
 - Wed Dec 17 13:19:28 2014 +0000
 - Parent:
 - 0:1e0d84ef27ec
 - Commit message:
 - fix comment.
 
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Wed Dec 17 13:10:57 2014 +0000
+++ b/main.cpp	Wed Dec 17 13:19:28 2014 +0000
@@ -102,7 +102,7 @@
             fwrite(buffer,1,ret,pFile);
         } else {
             for(int i=1; i<ret; i++) {
-                if(buffer[i-1]==0x42 && buffer[i]==0x4D) { //jpg file starts from FFD8
+                if(buffer[i-1]==0x42 && buffer[i]==0x4D) { //bmp file starts from 424D
                     pc.printf("found start.\n\r");
                     fwrite(&buffer[i-1],1,ret-i+1,pFile);
                     found_start = true;