This commit is contained in:
Rémi Heredero 2023-09-04 15:22:16 +02:00
parent 7bdc3d10c6
commit 447c9d8801
3 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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,

View File

@ -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;