From: Uwe Hermann Date: Sun, 31 Aug 2014 22:08:23 +0000 (+0200) Subject: error.c: Add missing entries. X-Git-Tag: libsigrok-0.4.0~1062 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=129d5bc961fb3589a08b391092d9a7e5eef522f6;p=libsigrok.git error.c: Add missing entries. --- diff --git a/src/error.c b/src/error.c index 9956089f..d4e22d5a 100644 --- a/src/error.c +++ b/src/error.c @@ -113,6 +113,8 @@ SR_API const char *sr_strerror_name(int error_code) */ switch (error_code) { + case SR_OK_CONTINUE: + return "SR_OK_CONTINUE"; case SR_OK: return "SR_OK"; case SR_ERR: @@ -133,6 +135,8 @@ SR_API const char *sr_strerror_name(int error_code) return "SR_ERR_TIMEOUT"; case SR_ERR_CHANNEL_GROUP: return "SR_ERR_CHANNEL_GROUP"; + case SR_ERR_DATA: + return "SR_ERR_DATA"; default: return "unknown error code"; }