Skip to content

Commit

Permalink
Enaable for SITL, Fix feature in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Scavanger committed Nov 8, 2024
1 parent 39b1012 commit 06abdc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/fc/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ static uint8_t commandBatchErrorCount = 0;

// sync this with features_e
static const char * const featureNames[] = {
"THR_VBAT_COMP", "VBAT", "TX_PROF_SEL", "BAT_PROF_AUTOSWITCH", "MOTOR_STOP",
"GEOZONE", "SOFTSERIAL", "GPS", "RPM_FILTERS",
"THR_VBAT_COMP", "VBAT", "TX_PROF_SEL", "BAT_PROF_AUTOSWITCH", "GEOZONE",
"", "SOFTSERIAL", "GPS", "RPM_FILTERS",
"", "TELEMETRY", "CURRENT_METER", "REVERSIBLE_MOTORS", "",
"", "RSSI_ADC", "LED_STRIP", "DASHBOARD", "",
"BLACKBOX", "", "TRANSPONDER", "AIRMODE",
Expand Down
3 changes: 3 additions & 0 deletions src/main/target/SITL/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
#define USE_HEADTRACKER_MSP

#undef USE_DASHBOARD
#define USE_GEOZONE
#define MAX_GEOZONES_IN_CONFIG 63
#define MAX_VERTICES_IN_CONFIG 126

#undef USE_GYRO_KALMAN // Strange behaviour under x86/x64 ?!?
#undef USE_VCP
Expand Down

0 comments on commit 06abdc5

Please sign in to comment.