Skip to content

Commit

Permalink
Merge pull request #10341 from iNavFlight/dzikuvx-iflight-target-split
Browse files Browse the repository at this point in the history
iFlight IFLIGHT_BLITZ_H7_WING changes
  • Loading branch information
DzikuVx authored Sep 6, 2024
2 parents 6d672b6 + dd82cd8 commit 959222c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/target/IFLIGHT_BLITZ_H7_PRO/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target_stm32h743xi(IFLIGHT_BLITZ_H7_PRO)
target_stm32h743xi(IFLIGHT_BLITZ_H7_PRO)
target_stm32h743xi(IFLIGHT_BLITZ_H7_WING)
11 changes: 10 additions & 1 deletion src/main/target/IFLIGHT_BLITZ_H7_PRO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@

#define TARGET_BOARD_IDENTIFIER "IB7P"

#ifdef IFLIGHT_BLITZ_H7_PRO
#define USBD_PRODUCT_STRING "IFLIGHT_BLITZ_H7_PRO"
#else
#define USBD_PRODUCT_STRING "IFLIGHT_BLITZ_H7_WING"
#endif

#define USE_TARGET_CONFIG

Expand Down Expand Up @@ -161,7 +165,12 @@

#define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_TELEMETRY | FEATURE_CURRENT_METER | FEATURE_VBAT | FEATURE_TX_PROF_SEL | FEATURE_BLACKBOX)
#define CURRENT_METER_SCALE 212
#define VBAT_SCALE_DEFAULT 1135

#ifdef IFLIGHT_BLITZ_H7_PRO
#define VBAT_SCALE_DEFAULT 2100
#else
#define VBAT_SCALE_DEFAULT 1100
#endif

#define USE_SERIAL_4WAY_BLHELI_INTERFACE

Expand Down

0 comments on commit 959222c

Please sign in to comment.