diff --git a/include/scpi_errors.h b/include/scpi_errors.h index 33db046..0185fb1 100644 --- a/include/scpi_errors.h +++ b/include/scpi_errors.h @@ -11,9 +11,14 @@ typedef struct { extern const SCPI_error_desc scpi_user_errors[]; -/** Callback when error is added to the queue */ +/** + * Callback when error is added to the queue + * + * @param errno error code + * @param msg error string in the canonical format , + */ extern __attribute__((weak)) -void scpi_user_error(int16_t errno, const char * msg); +void scpi_user_error(int16_t errno, const char * error_string); // SCPI error constants