Bugfix: Absturz bei unbekannter Klemme.
authorFlorian Pose <fp@igh-essen.com>
Fri, 24 Mar 2006 08:56:16 +0000
changeset 129 67b6e534db4b
parent 128 48fe0a7a0288
child 130 69c2645300ee
Bugfix: Absturz bei unbekannter Klemme.
master/master.c
--- a/master/master.c	Fri Mar 24 08:39:46 2006 +0000
+++ b/master/master.c	Fri Mar 24 08:56:16 2006 +0000
@@ -464,7 +464,7 @@
 
         // Search for identification in "database"
         ident = slave_idents;
-        while (ident) {
+        while (ident->type) {
             if (unlikely(ident->vendor_id == slave->sii_vendor_id
                          && ident->product_code == slave->sii_product_code)) {
                 slave->type = ident->type;