Skip to content

Commit

Permalink
Fixed array size
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospzlz committed Apr 20, 2020
1 parent dfad9e2 commit 0228412
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/flip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ int main()
;

VideoCapture capture{TELLO_STREAM_URL, CAP_FFMPEG};
std::array<std::string, 11> commands{"takeoff", "flip l", "flip r",
"flip f", "flip b", "stop",
"cw 360", "land"};
std::array<std::string, 8> commands{"takeoff", "flip l", "flip r", "flip f",
"flip b", "stop", "cw 360", "land"};
int index{0};
bool busy{false};
while (true)
Expand Down

0 comments on commit 0228412

Please sign in to comment.