Skip to content

Commit

Permalink
iFlight IFLIGHT_BLITZ_H7_WING changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed Sep 4, 2024
1 parent ed7fb3b commit dd82cd8
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 dd82cd8

Please sign in to comment.