]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Compile fix.
authorUwe Hermann <redacted>
Mon, 27 Feb 2012 22:26:05 +0000 (23:26 +0100)
committerUwe Hermann <redacted>
Mon, 27 Feb 2012 22:26:05 +0000 (23:26 +0100)
hardware/fx2lafw/fx2lafw.c

index bd4eebad6a2868f7b6c6e5fcd7e0454f444514bb..e99a62683c72b31ccadfcf9c51da9fca1c280511 100644 (file)
@@ -298,7 +298,7 @@ static int hw_init(const char *deviceinfo)
                ctx = fx2lafw_device_new();
                ctx->profile = fx2lafw_prof;
                sdi->priv = ctx;
-               device_instances = g_slist_append(dev_insts, sdi);
+               dev_insts = g_slist_append(dev_insts, sdi);
 
                if (check_conf_profile(devlist[i])) {
                        /* Already has the firmware, so fix the new address. */