From 04c6e6e866dcd97ecfdbda8a191c1a69dd38b31b Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Wed, 28 Aug 2024 12:43:12 -0500 Subject: [PATCH] update espp to v0.14.2 --- components/espp | 2 +- main/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/espp b/components/espp index a27a668..f7c5024 160000 --- a/components/espp +++ b/components/espp @@ -1 +1 @@ -Subproject commit a27a66834c4946b281935f6e9ed6bc7042cb2cff +Subproject commit f7c5024065fda3e8720a7b24c7f3676461e002dc diff --git a/main/main.cpp b/main/main.cpp index a29c0b8..8729cbc 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -18,7 +18,7 @@ extern "C" void app_main(void) { #pragma message("Using MotorGo Mini hardware configuration") logger.info("Using MotorGo Mini hardware configuration"); // we don't want to init both motors, so we'll pass in auto_init=false - espp::MotorGoMini motorgo_mini({.auto_init = false}); + auto &motorgo_mini = espp::MotorGoMini::get(); motorgo_mini.init_motor_channel_1(); auto &motor = motorgo_mini.motor1(); using BldcHaptics = espp::BldcHaptics;