Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/core/ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ static bool is_moving = true;
static volatile bool calibrating = false;
static int calibration_count = 0;

#if defined(HDZGOGGLE) || defined(HDZGOGGLE2)
static const float imu_orientation[3] = {0.0 * DEG_TO_RAD, -90.0 * DEG_TO_RAD, (-90.0 + 23.0) * DEG_TO_RAD};
#elif defined HDZBOXPRO
static const float imu_orientation[3] = {0.0 * DEG_TO_RAD, -90.0 * DEG_TO_RAD, -90.0 * DEG_TO_RAD};
#endif

static const int ppmMaxPulse = 500;
static const int ppmMinPulse = -500;
Expand Down