diff options
Diffstat (limited to 'project/Core/Inc/Project')
| -rw-r--r-- | project/Core/Inc/Project/local_control.h | 4 | ||||
| -rw-r--r-- | project/Core/Inc/Project/project.h | 6 | ||||
| -rw-r--r-- | project/Core/Inc/Project/remote_control.h | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/project/Core/Inc/Project/local_control.h b/project/Core/Inc/Project/local_control.h index b691cde..a28271b 100644 --- a/project/Core/Inc/Project/local_control.h +++ b/project/Core/Inc/Project/local_control.h @@ -8,10 +8,8 @@ #ifndef INC_PROJECT_LOCAL_CONTROL_H_ #define INC_PROJECT_LOCAL_CONTROL_H_ -void local_control_start(); +void local_control_init(); void local_control_loop(); -void local_control_stop(); - #endif /* INC_PROJECT_LOCAL_CONTROL_H_ */ diff --git a/project/Core/Inc/Project/project.h b/project/Core/Inc/Project/project.h index 1d07abd..ed41f78 100644 --- a/project/Core/Inc/Project/project.h +++ b/project/Core/Inc/Project/project.h @@ -8,7 +8,13 @@ #ifndef INC_PROJECT_H_ #define INC_PROJECT_H_ +#define REMOTE_MODE (0) +#define LOCAL_MODE (1) + void project_run(); + uint8_t *project_get_state(); +uint8_t project_get_mode(); + #endif /* INC_PROJECT_H_ */ diff --git a/project/Core/Inc/Project/remote_control.h b/project/Core/Inc/Project/remote_control.h index 469e4ab..d3bd926 100644 --- a/project/Core/Inc/Project/remote_control.h +++ b/project/Core/Inc/Project/remote_control.h @@ -8,10 +8,8 @@ #ifndef INC_PROJECT_REMOTE_CONTROL_H_ #define INC_PROJECT_REMOTE_CONTROL_H_ -void remote_control_start(); +void remote_control_init(); void remote_control_loop(); -void remote_control_stop(); - #endif /* INC_PROJECT_REMOTE_CONTROL_H_ */ |
