BMS support for more temp sensors

This commit is contained in:
Benjamin Vedder 2022-09-03 09:30:28 +02:00
parent c17183feb9
commit 352c6eb86f
2 changed files with 2 additions and 2 deletions

2
bms.c
View File

@ -372,7 +372,7 @@ void bms_process_cmd(unsigned char *data, unsigned int len,
switch (packet_id) {
case COMM_BMS_GET_VALUES: {
int32_t ind = 0;
uint8_t send_buffer[128];
uint8_t send_buffer[256];
send_buffer[ind++] = packet_id;

View File

@ -276,7 +276,7 @@ typedef struct {
float v_cell[32];
bool bal_state[32];
int temp_adc_num;
float temps_adc[10];
float temps_adc[50];
float temp_ic;
float temp_hum;
float hum;