Skip to content

Commit

Permalink
add simple main()
Browse files Browse the repository at this point in the history
  • Loading branch information
blondejamtart committed Jun 5, 2020
1 parent f8650e8 commit 435f4e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions raspiCam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,10 @@ int raspiCam::start() {
ptso: NULL,
};
return camera_main(cfg, &(raspiCam::callback));
}

int main() {
raspiCam camObject = new raspiCam();
camObject.start();
delete camObject;
}

0 comments on commit 435f4e3

Please sign in to comment.