From f0f8202f77a42f470f767692b22f0ad0254c038f Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周二, 04 12月 2012 19:01:50 +0800 Subject: [PATCH] Update README - describe parameters and results handling --- test-parser.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/test-parser.c b/test-parser.c index 15e1209..6cc8b6c 100644 --- a/test-parser.c +++ b/test-parser.c @@ -61,7 +61,7 @@ return SCPI_RES_OK; } -static scpi_command_t scpi_commands[] = { +static const scpi_command_t scpi_commands[] = { /* IEEE Mandated Commands (SCPI std V1999.0 4.1.1) */ { .pattern = "*CLS", .callback = SCPI_CoreCls,}, { .pattern = "*ESE", .callback = SCPI_CoreEse,}, @@ -152,6 +152,8 @@ }, .interface = &scpi_interface, .registers = scpi_regs, + .units = scpi_units_def, + .special_numbers = scpi_special_numbers_def, }; /* -- Gitblit v1.9.1