fix: compilation errors
This commit is contained in:
parent
cd21cc0ff4
commit
2d71363a65
|
@ -37,10 +37,10 @@ typedef enum {
|
||||||
SLAVE_ERR_INTERNAL_BMS_OVERTEMP,
|
SLAVE_ERR_INTERNAL_BMS_OVERTEMP,
|
||||||
SLAVE_ERR_INTERNAL_BMS_FAULT,
|
SLAVE_ERR_INTERNAL_BMS_FAULT,
|
||||||
SLAVE_ERR_UNKNOWN,
|
SLAVE_ERR_UNKNOWN,
|
||||||
} SlaveErrorKind;
|
} SlaveErrorKind_master;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
SlaveErrorKind kind;
|
SlaveErrorKind_master kind;
|
||||||
uint32_t data; // Cell/temperature ID etc
|
uint32_t data; // Cell/temperature ID etc
|
||||||
} SlaveError;
|
} SlaveError;
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#define ADBMS_DRIVER_H
|
#define ADBMS_DRIVER_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "stm32h7xx_hal.h"
|
||||||
|
|
||||||
#define ERROR_TIME_THRESH 150 // ms
|
#define ERROR_TIME_THRESH 150 // ms
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
#include "ADBMS_HighLevel.h"
|
#include "ADBMS_HighLevel.h"
|
||||||
#include "ADBMS_Abstraction.h"
|
#include "ADBMS_Abstraction.h"
|
||||||
|
#include "ADBMS_Error.h"
|
||||||
#include "ADBMS_LL_Driver.h"
|
#include "ADBMS_LL_Driver.h"
|
||||||
#include "config_ADBMS6830.h"
|
#include "config_ADBMS6830.h"
|
||||||
#include "ADBMS_Driver.h"
|
#include "ADBMS_Driver.h"
|
||||||
|
|
Loading…
Reference in New Issue