examples/test-tcp/main.c
@@ -63,7 +63,7 @@ int SCPI_Error(scpi_t * context, int_fast16_t err) { (void) context; // BEEP 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; } @@ -76,12 +76,9 @@ return SCPI_RES_OK; } /** * Return 0 as OK and other number as error */ scpi_result_t SCPI_Test(scpi_t * context) { fprintf(stderr, "**Test\r\n"); return 0; return SCPI_RES_OK; } scpi_result_t SCPI_Reset(scpi_t * context) {