2025-11-29 16:24:56 -06:00
|
|
|
#ifndef SETUP_H
|
|
|
|
|
#define SETUP_H
|
|
|
|
|
|
2026-01-11 19:02:14 -06:00
|
|
|
#include "freertos/FreeRTOS.h"
|
|
|
|
|
#include "freertos/task.h"
|
|
|
|
|
#include <atomic>
|
|
|
|
|
|
2026-01-10 02:45:26 -06:00
|
|
|
extern TaskHandle_t setupTaskHandle;
|
2026-01-11 19:02:14 -06:00
|
|
|
extern std::atomic<bool> awaitCalibration;
|
2026-01-10 02:45:26 -06:00
|
|
|
|
2025-11-29 16:24:56 -06:00
|
|
|
void initialSetup();
|
2026-01-11 19:02:14 -06:00
|
|
|
void setupLoop();
|
|
|
|
|
|
|
|
|
|
void setupAndCalibrate();
|
2025-11-29 16:24:56 -06:00
|
|
|
|
|
|
|
|
#endif
|