add cst
This commit is contained in:
parent
7bdc3d10c6
commit
447c9d8801
@ -46,6 +46,10 @@
|
|||||||
|
|
||||||
const bool ALWAYSTRUE = true;
|
const bool ALWAYSTRUE = true;
|
||||||
const bool ALWAYSFALSE = false;
|
const bool ALWAYSFALSE = false;
|
||||||
|
const uint8_t ALWAYS0 = 0;
|
||||||
|
const uint8_t ALWAYS1 = 1;
|
||||||
|
const uint8_t ALWAYS2 = 2;
|
||||||
|
const uint8_t ALWAYS3 = 3;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t CONTROL_STEERING_MODE;
|
uint8_t CONTROL_STEERING_MODE;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "../xf/xf.h"
|
#include "../xf/xf.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
STAL_INIT,
|
STAL_INIT = 15,
|
||||||
STAL_SETUP,
|
STAL_SETUP,
|
||||||
STAL_BORN,
|
STAL_BORN,
|
||||||
STAL_WAIT,
|
STAL_WAIT,
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "../xf/xf.h"
|
#include "../xf/xf.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
STCA_INIT,
|
STCA_INIT = 10,
|
||||||
STCA_PROCESS
|
STCA_PROCESS
|
||||||
} CAN_STATES;
|
} CAN_STATES;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user