cleanup, fix compiler errors

This commit is contained in:
2024-04-23 17:37:17 +02:00
parent 8023607638
commit 9fc7fc2242
255 changed files with 592 additions and 415260 deletions

View File

@ -1,9 +1,9 @@
#ifndef INC_CAN_H
#define INC_CAN_H
#include "stm32f3xx_hal.h"
#include "stm32f3xx_hal_can.h"
#include "stm32f3xx_hal_def.h"
#include "stm32h7xx_hal.h"
#include "stm32h7xx_hal_fdcan.h"
#include "stm32h7xx_hal_def.h"
#include "ts_state_machine.h"
@ -23,7 +23,7 @@
#define CAN_ID_SHUNT_CURRENT_COUNTER 0x527
#define CAN_ID_SHUNT_ENERGY_COUNTER 0x528
void can_init(CAN_HandleTypeDef *handle);
void can_init(FDCAN_HandleTypeDef *handle);
HAL_StatusTypeDef can_send_status();
HAL_StatusTypeDef can_send_error(TSErrorKind kind, uint8_t arg);