Fenice BMS HV
1.0.0
Software
Fenice BMS HV
»
Software
»
Function error_set(error_id, uint8_t, uint32_t)
View page source
Function error_set(error_id, uint8_t, uint32_t)
¶
Defined in
File error.c
Function Documentation
¶
bool
error_set
(
error_id
type
, uint8_t
offset
, uint32_t
now
)
¶
Activates an error.
Return
whether the error has been set
Parameters
id
: The error id
offset
: The offset (index) of the error in error_data
timestamp
: Current timestamp