Revert 8 commits (approach with stepper lib dropped)
Undo all custom changes to the DendoStepper library, since it will not be used further. Custom implementation will be used in the future (stepper_custom-driver branch) Revert279ac0e07eRevert1c59e0097bRevert5d7c67ab9aRevert8d2428d285Revertdc6deeb3d0Revert0a05340763Revert45409676a0Revertde42b6252e
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include "freertos/task.h"
|
||||
#include "esp_timer.h"
|
||||
#include "math.h"
|
||||
#include "freertos/semphr.h"
|
||||
|
||||
//#define STEP_DEBUG
|
||||
|
||||
@@ -96,7 +95,7 @@ typedef struct
|
||||
uint32_t accSteps = 0;
|
||||
uint32_t decSteps = 0;
|
||||
int32_t stepsRemaining = 0;
|
||||
//uint64_t posActual = 0; //actual current pos incremented at every step
|
||||
uint64_t posActual = 0; //actual current pos incremented at every step
|
||||
uint8_t statusPrev = DISABLED; //FIXME currently unused
|
||||
uint8_t status = DISABLED;
|
||||
bool dir = CW;
|
||||
@@ -112,7 +111,6 @@ private:
|
||||
ctrl_var_t ctrl;
|
||||
esp_timer_handle_t dyingTimer;
|
||||
TaskHandle_t enTask;
|
||||
SemaphoreHandle_t semaphore_isrVariables = NULL;
|
||||
uint64_t currentPos = 0; // absolute position
|
||||
bool timerStarted = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user