aboutsummaryrefslogtreecommitdiff
path: root/all_SRE_edited.h
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-26 16:26:16 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-26 16:26:16 -0700
commit6a739876651684859d2fc43c914519cae2d59d19 (patch)
tree328661194e14edb3b777a0b54c679a0a7b31eb23 /all_SRE_edited.h
parentfac4a859bde218877718a120ff0192020900c64d (diff)
I wrongly changed cell temp based on BMS_Highest_Cell_Temperature, now change again, not tested, only guess
Diffstat (limited to 'all_SRE_edited.h')
-rw-r--r--all_SRE_edited.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/all_SRE_edited.h b/all_SRE_edited.h
index eff21c8..a689293 100644
--- a/all_SRE_edited.h
+++ b/all_SRE_edited.h
@@ -760,59 +760,59 @@ typedef PREPACK struct {
} POSTPACK can_0x647_BMS_M8_Cell_Voltage_Data_3_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x680_BMS_M1_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x683_BMS_M2_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x686_BMS_M3_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x689_BMS_M4_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x68c_BMS_M5_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x68f_BMS_M6_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x692_BMS_M7_Cell_Temp_Data_t;
typedef PREPACK struct {
- uint16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
- uint16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_4_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_3_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_2_Temp; /* scaling 0.1, offset 0.0, units C */
+ int16_t BMS_Section_1_Temp; /* scaling 0.1, offset 0.0, units C */
} POSTPACK can_0x695_BMS_M8_Cell_Temp_Data_t;
typedef PREPACK struct {