Jan Breuer
2012-11-27 11ffa4398643ff42bd5a1b9d887992cc789a3468
scpi/scpi_error.c
@@ -45,7 +45,7 @@
 * Clear error queue
 * @param context - scpi context
 */
void SCPI_ErrorClear(scpi_context_t * context) {
void SCPI_ErrorClear(scpi_t * context) {
    (void) context;
    scpi_err = 0;
}
@@ -55,7 +55,7 @@
 * @param context - scpi context
 * @param err - error number
 */
void SCPI_ErrorPush(scpi_context_t * context, int16_t err) {
void SCPI_ErrorPush(scpi_t * context, int16_t err) {
    scpi_err = err;
    // Command error (e.g. syntax error)
@@ -87,7 +87,7 @@
 * @param context - scpi context
 * @return error number
 */
int16_t SCPI_ErrorPop(scpi_context_t * context) {
int16_t SCPI_ErrorPop(scpi_t * context) {
    (void) context;
    int16_t result = scpi_err;
    scpi_err = 0;