From 1c6934ca0ca0be492822d226287fce6abf375339 Mon Sep 17 00:00:00 2001 From: Kevin Harrington Date: Tue, 30 Mar 2021 15:55:11 -0400 Subject: [PATCH] Remove the timerAllocation --- library.properties | 2 +- src/Motor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index ffac919..578acaf 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=RBE1001Lib -version=0.12.0 +version=0.12.1 author=Kevin Harrington maintainer=Kevin Harrington sentence=Support robotics education with simplified support classes. diff --git a/src/Motor.cpp b/src/Motor.cpp index 1999f70..6025d2f 100644 --- a/src/Motor.cpp +++ b/src/Motor.cpp @@ -116,7 +116,7 @@ void Motor::allocateTimer(int PWMgenerationTimer) { if (!Motor::timersAllocated) { - ESP32PWM::allocateTimer(PWMgenerationTimer); + //ESP32PWM::allocateTimer(PWMgenerationTimer); xTaskCreatePinnedToCore(onMotorTimer, "PID loop Thread", 8192, NULL, 1, &complexHandlerTask, 0); }