From 3471413e9f07fd7ab7f2ba22f952bce5cadb037d Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 30 Apr 2025 20:19:49 -0700 Subject: use correct .dbc file from spartanracingelectric/SR16-CustomBMS, rewrite code based on correct dbc file --- list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'list.h') diff --git a/list.h b/list.h index 88cd4f5..d889727 100644 --- a/list.h +++ b/list.h @@ -8,13 +8,13 @@ /*特定与程序的声明*/ #define VOLTLEN 96 -#define TEMPLEN 32 +#define TEMPLEN 48 typedef struct can { uint32_t t; double volt[VOLTLEN]; - double temp[TEMPLEN]; + uint16_t temp[TEMPLEN]; }; /*一般类型定义*/ -- cgit v1.2.3-70-g09d2