Dependencies: mbed SDFileSystem
Revision 1:d2f06e666bc9, committed 2010-07-08
- Comitter:
- nucho
- Date:
- Thu Jul 08 04:43:03 2010 +0000
- Parent:
- 0:061ea0ce0fd7
- Child:
- 2:514cf0e05a63
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jul 04 13:26:26 2010 +0000 +++ b/main.cpp Thu Jul 08 04:43:03 2010 +0000 @@ -184,7 +184,7 @@ init_lcd(); if ((fpi=fopen("/sd/sample.bmp", "rb")) == NULL) { - fprintf(stderr, "input file open error\n"); + printf(stderr, "input file open error\n"); exit(1); } @@ -201,4 +201,5 @@ WriteDAT(dat2); WriteDAT(dat); } + fclose(fpi); }