Add dummy SoC, replace ID

This commit is contained in:
Dmitriy Semenov
2023-04-06 21:23:19 +03:00
parent 9c2667bbe5
commit 8ea5166aa1
6 changed files with 37 additions and 10 deletions

View File

@@ -5,6 +5,7 @@
#ifndef BMS_V3_CAN_MESSENGER_H
#define BMS_V3_CAN_MESSENGER_H
#include <stdbool.h>
#include "../Core/Inc/main.h"
/**
@@ -23,6 +24,9 @@ typedef enum CAN_BMS_ID {
void can_msgr_init();
void can_set_dummy_soc(void);
bool get_dummy_soc(void);
void transmitCan1Packet();
int getIndexBySoc();
int getIndexByTemperature();