Jan Breuer
2015-04-25 83847012f9b0a0d479725d4741c551c88d7035c2
examples/test-parser/main.c
@@ -52,7 +52,7 @@
int SCPI_Error(scpi_t * context, int_fast16_t err) {
    (void) context;
    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int32_t) err, SCPI_ErrorTranslate(err));
    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int16_t) err, SCPI_ErrorTranslate(err));
    return 0;
}
@@ -63,18 +63,6 @@
        fprintf(stderr, "**CTRL %02x: 0x%X (%d)\r\n", ctrl, val, val);
    }
    return SCPI_RES_OK;
}
/**
 * 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) {
    fprintf(stderr, "**Test\r\n");
    return 0;
}
scpi_result_t SCPI_Reset(scpi_t * context) {