mirror of https://github.com/rusefi/bldc.git
BMS support for more temp sensors
This commit is contained in:
parent
c17183feb9
commit
352c6eb86f
2
bms.c
2
bms.c
|
@ -372,7 +372,7 @@ void bms_process_cmd(unsigned char *data, unsigned int len,
|
||||||
switch (packet_id) {
|
switch (packet_id) {
|
||||||
case COMM_BMS_GET_VALUES: {
|
case COMM_BMS_GET_VALUES: {
|
||||||
int32_t ind = 0;
|
int32_t ind = 0;
|
||||||
uint8_t send_buffer[128];
|
uint8_t send_buffer[256];
|
||||||
|
|
||||||
send_buffer[ind++] = packet_id;
|
send_buffer[ind++] = packet_id;
|
||||||
|
|
||||||
|
|
|
@ -276,7 +276,7 @@ typedef struct {
|
||||||
float v_cell[32];
|
float v_cell[32];
|
||||||
bool bal_state[32];
|
bool bal_state[32];
|
||||||
int temp_adc_num;
|
int temp_adc_num;
|
||||||
float temps_adc[10];
|
float temps_adc[50];
|
||||||
float temp_ic;
|
float temp_ic;
|
||||||
float temp_hum;
|
float temp_hum;
|
||||||
float hum;
|
float hum;
|
||||||
|
|
Loading…
Reference in New Issue