- outsource global variables and objects
- move from config.hpp to global.cpp / hpp
- rename config.hpp, thus change all includes
- re-arrange includes -> in source files instead of header
- optimize / make function comment titles more consistent
- optimize comments overall
- add several temporary files to gitignore
- fix unused variable compiler warnings
13 lines
381 B
C++
13 lines
381 B
C++
#pragma once
|
|
|
|
|
|
//enum describing the state of the system
|
|
enum class systemState_t {COUNTING, WINDING_START, WINDING, TARGET_REACHED, AUTO_CUT_WAITING, CUTTING, MANUAL};
|
|
|
|
//array with enum as strings for logging states
|
|
extern const char* systemStateStr[7];
|
|
|
|
|
|
//task that controls the entire machine (has to be created as task in main function)
|
|
void task_control(void *pvParameter);
|