Skip to content

Commit

Permalink
Merge pull request #566 from DJI-Jerry/fix_sample_typo
Browse files Browse the repository at this point in the history
fix:fix payload sample typo
  • Loading branch information
DJI-Jerry committed Jul 16, 2020
2 parents 2a301c3 + 0c369fa commit 777c30c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sample/platform/linux/payloads/main_sync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,15 @@ int main(int argc, char **argv) {
sleep(5);
break;
case 'g':
p->setZoomSyncSample(PAYLOAD_INDEX_0, 5);
p->setZoomSyncSample(PAYLOAD_INDEX_1, 5);
sleep(4);
p->setZoomSyncSample(PAYLOAD_INDEX_0, 10);
p->setZoomSyncSample(PAYLOAD_INDEX_1, 10);
sleep(4);
p->startZoomSyncSample(PAYLOAD_INDEX_0,
p->startZoomSyncSample(PAYLOAD_INDEX_1,
CameraModule::ZoomDirection::ZOOM_OUT,
CameraModule::ZoomSpeed::FASTEST);
sleep(8);
p->stopZoomSyncSample(PAYLOAD_INDEX_0);
p->stopZoomSyncSample(PAYLOAD_INDEX_1);
break;
case 'h':
p->startShootSinglePhotoSyncSample(PAYLOAD_INDEX_0);
Expand Down

0 comments on commit 777c30c

Please sign in to comment.