Start safety implementation. Completely dumped old stuff

This commit is contained in:
2020-07-07 20:47:22 +02:00
parent 06a75559f0
commit 5eb51f08b6
6 changed files with 170 additions and 147 deletions

View File

@@ -27,8 +27,8 @@
#ifndef __SAFETY_CONTROLLER_H__
#define __SAFETY_CONTROLLER_H__
#include <reflow-controller/safety/safety-controller-config-default.h>
#include <reflow-controller/safety/safety-config.h>
#include <stdbool.h>
/**
* @brief Initialize the safety controller
@@ -46,8 +46,11 @@ void safety_controller_init();
*/
int safety_controller_handle();
int safety_controller_report_error();
int safety_controller_report_error(enum safety_flag flag);
void safety_controller_report_timing(enum timing_monitor monitor);
int safety_controller_enable_timing_mon(enum timing_monitor monitor, bool enable);
#endif /* __SAFETY_CONTROLLER_H__ */