Task-Driven, powersaving trial written, must test.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#ifndef CALIBRATION_H
|
||||
#define CALIBRATION_H
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include <atomic>
|
||||
#include "encoder.hpp"
|
||||
|
||||
@@ -19,4 +21,7 @@ class Calibration {
|
||||
static std::atomic<bool> calibrated;
|
||||
};
|
||||
|
||||
extern TaskHandle_t calibTaskHandle;
|
||||
bool calibrate();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user