Skip to content

Commit

Permalink
[boards] fix pwm timer enabled for lisa_mx[s] boards with chibios (#3209
Browse files Browse the repository at this point in the history
)

close #3207
  • Loading branch information
gautierhattenberger committed Dec 15, 2023
1 parent f7a981a commit fc047cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sw/airborne/boards/lisa_mx/chibios/v2.1/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,11 @@
#endif

#ifndef USE_PWM_TIM4
#ifdef USE_SERVOS_7AND8
#define USE_PWM_TIM4 1
#else
#define USE_PWM_TIM4 0
#endif
#endif

#ifndef USE_PWM_TIM5
Expand Down
4 changes: 4 additions & 0 deletions sw/airborne/boards/lisa_mxs/chibios/v1.0/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,11 @@
#endif

#ifndef USE_PWM_TIM4
#ifdef USE_SERVOS_7AND8
#define USE_PWM_TIM4 1
#else
#define USE_PWM_TIM4 0
#endif
#endif

#ifndef USE_PWM_TIM5
Expand Down

0 comments on commit fc047cf

Please sign in to comment.