add printf in snapshot to confirm the running
Dependents: Camera_C328_HTTP_SDcard_file_server_WIZwiki-W7500
Fork of CameraC328 by
Revision 16:483cfd88da75, committed 2015-08-05
- Comitter:
- IOP
- Date:
- Wed Aug 05 23:52:09 2015 +0000
- Parent:
- 15:49cfda6c547f
- Commit message:
- add printf in snapshot to confirm the running
Changed in this revision
CameraC328.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 49cfda6c547f -r 483cfd88da75 CameraC328.cpp --- a/CameraC328.cpp Wed Oct 13 10:45:29 2010 +0000 +++ b/CameraC328.cpp Wed Aug 05 23:52:09 2015 +0000 @@ -270,7 +270,11 @@ char databuf[packageSize - 6]; uint16_t pkg_total = length / (packageSize - 6); - for (int i = 0; i <= (int)pkg_total; i++) { + + for (int i = 0; i <= (int)pkg_total; i++) { + + printf(".\r\n"); // check it on the processing + uint16_t checksum = 0; // ID. char idbuf[2]; @@ -328,9 +332,8 @@ en = sendAck(0x00, 1 + i); if (NoError != en) { return en; - } + } } - return (ErrorNumber)NoError; }