Skip to content

Commit

Permalink
v9.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
s60sc authored Aug 25, 2024
1 parent f24ecac commit 48b5d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcpwm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ static esp_err_t bdc_motor_del(bdc_motor_handle_t motor)

/************************* custom code s60sc *************************/

#define CHECK_WS_CONN true // true if motors controlled via web socket
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0)

#define MCPWM_TIMER_HZ 100000
#define CHECK_WS_CONN true // true if motors controlled via web socket
static bdc_motor_handle_t RCmotor[6] = {NULL, NULL, NULL, NULL, NULL, NULL}; // max 6 motors

static bool prepBDCmotor(int groupId, int motorId, int pwmAgpio, int pwmBgpio) {
Expand Down

0 comments on commit 48b5d37

Please sign in to comment.