Repo unification
This commit is contained in:
23
firmware/src/logic/force.h
Normal file
23
firmware/src/logic/force.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef FORCE_H_
|
||||
#define FORCE_H_
|
||||
|
||||
/**** Includes ****/
|
||||
#include <stdint.h>
|
||||
|
||||
/**** Public definitions ****/
|
||||
#define FORCE_MAX_HBRAKE_HOLD_TIME 1000
|
||||
|
||||
typedef enum {
|
||||
FORCE_BMODE_OPEN,
|
||||
FORCE_BMODE_KEEP,
|
||||
FORCE_BMODE_LOCK
|
||||
} fbrake_mode_t;
|
||||
|
||||
/**** Public function declarations ****/
|
||||
uint8_t force_next(uint8_t handbrake, uint8_t brakes, fbrake_mode_t bmode, uint8_t user_force, uint16_t hbarke_act_time);
|
||||
fbrake_mode_t force_cycle_bmode(fbrake_mode_t bmode);
|
||||
|
||||
#ifdef TESTING
|
||||
#endif
|
||||
|
||||
#endif /* FORCE_H_ */
|
||||
Reference in New Issue
Block a user