Skip to content

Commit

Permalink
Fix JHEH743HD gyro align (betaflight#593)
Browse files Browse the repository at this point in the history
Per manufacturer's request on Discord.
  • Loading branch information
ot0tot authored Oct 15, 2024
1 parent 2129333 commit 67184f5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions configs/JHEH743_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,8 @@
#define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
//TODO #define MOTOR_PWM_PROTOCOL DSHOT600
#define DEFAULT_CURRENT_METER_SCALE 170
#define DEFAULT_VOLTAGE_METER_SCALE 110
//TODO set osd_vbat_pos = 2347
//TODO set osd_crosshairs_pos = 2253
//TODO set osd_ah_sbar_pos = 2254
//TODO set osd_ah_pos = 2126
//TODO set osd_current_pos = 2442
//TODO set osd_warnings_pos = 14697
//TODO set beeper_frequency = 0
#define BEEPER_INVERTED
#define MAX7456_SPI_INSTANCE SPI2
#define FLASH_SPI_INSTANCE SPI3
Expand All @@ -152,8 +144,8 @@
#define PINIO1_CONFIG 129
#define PINIO2_CONFIG 129
#define GYRO_1_SPI_INSTANCE SPI1
#define GYRO_1_ALIGN CW90_DEG
#define GYRO_1_ALIGN_YAW 900
#define GYRO_1_ALIGN CW180_DEG
#define GYRO_1_ALIGN_YAW 1800
#define GYRO_2_SPI_INSTANCE SPI4
#define GYRO_2_ALIGN CW180_DEG
#define GYRO_2_ALIGN_YAW 1800
#define GYRO_2_ALIGN CW0_DEG
#define GYRO_2_ALIGN_YAW 0

0 comments on commit 67184f5

Please sign in to comment.