From edf4f2883a71e71b5dd27243d1128647e00f40ee Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: ćšć, 19 3æ 2015 03:33:52 +0800 Subject: [PATCH] Update documentation --- examples/test-LwIP-netconn/scpi_server.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/examples/test-LwIP-netconn/scpi_server.c b/examples/test-LwIP-netconn/scpi_server.c index e6dee56..aecfbd1 100644 --- a/examples/test-LwIP-netconn/scpi_server.c +++ b/examples/test-LwIP-netconn/scpi_server.c @@ -145,10 +145,17 @@ return SCPI_RES_OK; } -scpi_result_t SCPI_Test(scpi_t * context) { +/** + * Callback for *TST? command + * + * It returns directly the result of the test + * @param context + * @return 0 means "test was OK", other values means, that some error bits are set + */ +int32_t SCPI_Test(scpi_t * context) { (void) context; iprintf("**Test\r\n"); - return SCPI_RES_OK; + return 0; } scpi_result_t SCPI_Reset(scpi_t * context) { -- Gitblit v1.9.1