fix signedness of min/max pack temp

should fix max temp always being -32678, whoops
This commit is contained in:
Kilian Bracher 2025-06-06 01:09:50 +02:00
parent 96b8e12f9a
commit e5739bc2d4
Signed by: k.bracher
SSH Key Fingerprint: SHA256:mXpyZkK7RDiJ7qeHCKJX108woM0cl5TrCvNBJASu6lM

View File

@ -18,8 +18,8 @@ extern struct {
float soc;
uint16_t min_voltage;
uint16_t max_voltage;
uint16_t min_temp;
uint16_t max_temp;
int16_t min_temp;
int16_t max_temp;
} pack;
struct {
BMS_Chip * chip;