From 5766800a0abaaa74f6c1547c5fcabad704a05da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 17 Jan 2016 18:03:53 +0100 Subject: [PATCH] doc --- include/scpi_errors.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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