Function error_init_error(error_t *, error_id, uint8_t, uint32_t)

Function Documentation

void error_init_error(error_t *error, error_id id, uint8_t offset, uint32_t timestamp)

Initializes an error structure.

Parameters
  • error: The error structure to initialize
  • id: The error id
  • offset: The offset (index) of the error in error_data
  • timestamp: The timestamp at which the error occurred