add printf in snapshot to confirm the running
Dependents: Camera_C328_HTTP_SDcard_file_server_WIZwiki-W7500
Fork of CameraC328 by
Diff: CameraC328.cpp
- Revision:
- 16:483cfd88da75
- Parent:
- 15:49cfda6c547f
--- 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; }