aboutsummaryrefslogtreecommitdiff
path: root/list.h
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-30 20:19:49 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-30 20:19:49 -0700
commit3471413e9f07fd7ab7f2ba22f952bce5cadb037d (patch)
treea43828ffadd36c4ee6db303f860997bd97c8a49a /list.h
parent60bacfb2b464134596bfa92f68332c2a361c5ff6 (diff)
use correct .dbc file from spartanracingelectric/SR16-CustomBMS, rewrite code based on correct dbc file
Diffstat (limited to 'list.h')
-rw-r--r--list.h4
1 files changed, 2 insertions, 2 deletions
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];
};
/*一般类型定义*/