Skip to content

Commit

Permalink
pwm outputs put in DTCM
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed Feb 3, 2019
1 parent c992c09 commit 3ceb2dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/drivers/pwm_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ typedef struct {
#endif
} pwmOutputPort_t;

static pwmOutputPort_t pwmOutputPorts[MAX_PWM_OUTPUT_PORTS];
STATIC_FASTRAM pwmOutputPort_t pwmOutputPorts[MAX_PWM_OUTPUT_PORTS];

static pwmOutputPort_t *motors[MAX_PWM_MOTORS];
static pwmOutputPort_t *servos[MAX_PWM_SERVOS];
STATIC_FASTRAM pwmOutputPort_t *motors[MAX_PWM_MOTORS];
STATIC_FASTRAM pwmOutputPort_t *servos[MAX_PWM_SERVOS];

#ifdef USE_DSHOT

Expand Down

0 comments on commit 3ceb2dc

Please sign in to comment.