Function sh2_getErrors
Defined in File sh2.h
Function Documentation
-
int sh2_getErrors(uint8_t severity, sh2_ErrorRecord_t *pErrors, uint16_t *numErrors)
Get error counts.
- Parameters:
severity – Only errors of this severity or greater are returned.
pErrors – Buffer to receive error codes.
numErrors – size of pErrors array
- Returns:
SH2_OK (0), on success. Negative value from sh2_err.h on error.