We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a0760 commit 5f48ed2Copy full SHA for 5f48ed2
components/espp
main/main.cpp
@@ -18,7 +18,7 @@ extern "C" void app_main(void) {
18
#pragma message("Using MotorGo Mini hardware configuration")
19
logger.info("Using MotorGo Mini hardware configuration");
20
// we don't want to init both motors, so we'll pass in auto_init=false
21
- espp::MotorGoMini motorgo_mini({.auto_init = false});
+ auto &motorgo_mini = espp::MotorGoMini::get();
22
motorgo_mini.init_motor_channel_1();
23
auto &motor = motorgo_mini.motor1();
24
using BldcHaptics = espp::BldcHaptics<espp::MotorGoMini::BldcMotor>;
0 commit comments