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)

Revert 279ac0e07e
Revert 1c59e0097b
Revert 5d7c67ab9a
Revert 8d2428d285
Revert dc6deeb3d0
Revert 0a05340763
Revert 45409676a0
Revert de42b6252e
This commit is contained in:
jonny_ji7
2023-04-25 19:16:38 +02:00
parent 279ac0e07e
commit 7eab4f8a8e
4 changed files with 66 additions and 146 deletions

View File

@@ -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;