fix: compilation errors

This commit is contained in:
Kilian Bracher 2025-02-20 15:04:12 +01:00
parent cd21cc0ff4
commit 2d71363a65
3 changed files with 4 additions and 2 deletions

View File

@ -37,10 +37,10 @@ typedef enum {
SLAVE_ERR_INTERNAL_BMS_OVERTEMP,
SLAVE_ERR_INTERNAL_BMS_FAULT,
SLAVE_ERR_UNKNOWN,
} SlaveErrorKind;
} SlaveErrorKind_master;
typedef struct {
SlaveErrorKind kind;
SlaveErrorKind_master kind;
uint32_t data; // Cell/temperature ID etc
} SlaveError;

View File

@ -2,6 +2,7 @@
#define ADBMS_DRIVER_H
#include <stdint.h>
#include "stm32h7xx_hal.h"
#define ERROR_TIME_THRESH 150 // ms

View File

@ -7,6 +7,7 @@
#include "ADBMS_HighLevel.h"
#include "ADBMS_Abstraction.h"
#include "ADBMS_Error.h"
#include "ADBMS_LL_Driver.h"
#include "config_ADBMS6830.h"
#include "ADBMS_Driver.h"