Jan Breuer
2015-04-22 a2e83e5ff635f040cffe4c12cfdaa60fa320c3de
examples/common/scpi-def.c
@@ -147,7 +147,7 @@
        return SCPI_RES_ERR;
    }
    
    fprintf(stderr, "\tP1=%s (%d)\r\n", trigger_source[param], param);
    fprintf(stderr, "\tP1=%s (%ld)\r\n", trigger_source[param], (long int)param);
    
    SCPI_ResultInt(context, param);
@@ -162,6 +162,8 @@
}
static const scpi_command_t scpi_commands[] = {
    /* { .pattern = "pattern", .callback = callback}, */
    /* IEEE Mandated Commands (SCPI std V1999.0 4.1.1) */
    { .pattern = "*CLS", .callback = SCPI_CoreCls,},
    { .pattern = "*ESE", .callback = SCPI_CoreEse,},
@@ -243,3 +245,4 @@
    .special_numbers = scpi_special_numbers_def,
    .idn = {"MANUFACTURE", "INSTR2013", NULL, "01-02"},
};