From ebcb4ffff0ad377c2fc9c910baa97695c023ba44 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 11 Mar 2013 10:57:41 +0100 Subject: [PATCH] add 2.4 and 3.1 firmware versions as supported --- ykcore/ykcore.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 9694c71..37472ed 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -111,9 +111,11 @@ int yk_check_firmware_version2(YK_STATUS *st) (st->versionMinor == 0 || st->versionMinor == 1 || st->versionMinor == 2 || - st->versionMinor == 3)) || + st->versionMinor == 3 || + st->versionMinor == 4)) || (st->versionMajor == 3 && - (st->versionMinor == 0)))) { + (st->versionMinor == 0 || + st->versionMinor == 1)))) { yk_errno = YK_EFIRMWARE; return 0; } -- 2.39.5