Skip to content

Commit

Permalink
Placed DEVICE_CONSTANT_NAME first
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospzlz committed May 3, 2021
1 parent d35aa4f commit 788de48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctello_joystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

#include "ctello.h"

static constexpr char INPUT_DEVICE_NAME[]{"/dev/input/js0"};
static constexpr int MAX_AXIS_VALUE{32767};
static constexpr int AXIS_SCALE{30};
static constexpr char INPUT_DEVICE_NAME[]{"/dev/input/js0"};

using ctello::Tello;

Expand Down

0 comments on commit 788de48

Please sign in to comment.