Skip to content

Commit

Permalink
Target updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed Aug 7, 2023
1 parent 63d6c2e commit ce6c5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/target/SPEEDYBEEF405MINI/target.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ timerHardware_t timerHardware[] = {
DEF_TIM(TIM3, CH4, PB1, TIM_USE_MC_MOTOR | TIM_USE_FW_SERVO, 1, 0), // S3
DEF_TIM(TIM3, CH3, PB0, TIM_USE_MC_MOTOR | TIM_USE_FW_SERVO, 1, 0), // S4

DEF_TIM(TIM5, CH3, PA2, TIM_USE_ANY, 0, 0), //TX2 softserial1_Tx

#ifdef SPEEDYBEEF405MINI_6OUTPUTS
DEF_TIM(TIM12, CH1, PB14, TIM_USE_MC_MOTOR | TIM_USE_MC_SERVO | TIM_USE_FW_SERVO, 1, 0), // CAM_CTRL
DEF_TIM(TIM1, CH1, PA8, TIM_USE_MC_MOTOR | TIM_USE_MC_SERVO | TIM_USE_FW_SERVO, 0, 0), // LED
Expand All @@ -42,6 +40,7 @@ timerHardware_t timerHardware[] = {
DEF_TIM(TIM1, CH1, PA8, TIM_USE_LED, 0, 0), // LED
#endif

DEF_TIM(TIM5, CH3, PA2, TIM_USE_ANY, 0, 0), //TX2 softserial1_Tx
};

const int timerHardwareCount = sizeof(timerHardware) / sizeof(timerHardware[0]);
2 changes: 1 addition & 1 deletion src/main/target/SPEEDYBEEF405MINI/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@

#define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_CURRENT_METER | FEATURE_VBAT | FEATURE_TX_PROF_SEL | FEATURE_BLACKBOX)
#define CURRENT_METER_SCALE 250
#define CURRENT_METER_OFFSET -500
#define CURRENT_METER_OFFSET 0

#define USE_SERIAL_4WAY_BLHELI_INTERFACE

Expand Down

0 comments on commit ce6c5cf

Please sign in to comment.