CJ125 more error codes

This commit is contained in:
rusefi 2018-06-23 09:34:31 -04:00
parent 741116378b
commit e48d4687c1
1 changed files with 6 additions and 4 deletions

View File

@ -89,7 +89,7 @@
#define CJ125_DIAG_NORM 0xFF // no errors
#define CJ125_IDENT 0x60
#define CJ125_IDENT 0x60 // 96
#define CJ125_IDENT_MASK 0xF8
#define CJ125_CALIBRATION_DELAY 1000 // 1 sec
@ -149,9 +149,11 @@ typedef enum {
} cj125_state_e;
typedef enum {
CJ125_ERROR_NONE,
CJ125_ERROR_HEATER_MALFUNCTION,
CJ125_ERROR_OVERHEAT,
CJ125_ERROR_NONE = 0,
CJ125_ERROR_HEATER_MALFUNCTION = 1,
CJ125_ERROR_OVERHEAT = 2,
CJ125_ERROR_WRONG_IDENT = 3,
CJ125_ERROR_WRONG_INIT = 4,
} cj125_error_e;