Skip to content

Commit

Permalink
enable mcpwm/pcnt combo
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed Aug 17, 2024
1 parent 609e490 commit 54c3785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fas_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ struct queue_end_s {
#define SUPPORT_UNSAFE_ABS_SPEED_LIMIT_SETTING 1

#define SUPPORT_ESP32_RMT
#define SUPPORT_ESP32_MCPWM_PCNT

// esp32 specific includes
#include <driver/gpio.h>
Expand Down Expand Up @@ -318,7 +319,7 @@ struct queue_end_s {
// Esp32 queue definitions
#define MAX_STEPPER 6
#define NUM_QUEUES 6
#define QUEUES_MCPWM_PCNT 0
#define QUEUES_MCPWM_PCNT 6
#define QUEUES_RMT 8
#define QUEUE_LEN 32
#define SUPPORT_EXTERNAL_DIRECTION_PIN
Expand Down

0 comments on commit 54c3785

Please sign in to comment.