We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f62fab5 commit 8eaf02eCopy full SHA for 8eaf02e
obc/examples/test_app_arducam/main.c
@@ -48,7 +48,7 @@ void vTask1(void *pvParameters) {
48
// Camera Configuration
49
sciPrintf("Configuring Camera\r\n");
50
LOG_IF_ERROR_CODE(camConfigureSensor());
51
- while (1) {
+ for (int i = 0; i < 10; i++) {
52
// Capture
53
sciPrintf("Starting Image Capture\r\n");
54
LOG_IF_ERROR_CODE(startImageCapture(selectedCamera));
@@ -75,8 +75,6 @@ void vTask1(void *pvParameters) {
75
}
76
} while (ret == OBC_ERR_CODE_CAMERA_IMAGE_READ_INCOMPLETE);
77
sciPrintf("\r\n");
78
-
79
- break;
80
81
82
// Put Camera on standby (gets pretty hot if left powered on for too long)
0 commit comments