Commit e29e84ae8e74922dfc4096c2081175be8813f62e

Con Kolivas 2013-11-14T14:04:54

Add unrecognised string debugging to bxf driver.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/driver-bitfury.c b/driver-bitfury.c
index 4a12f2f..223361b 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -323,6 +323,10 @@ static void *bxf_get_results(void *userdata)
 			parse_bxf_submit(bitfury, info, buf);
 		else if (!strncmp(buf, "temp", 4))
 			parse_bxf_temp(bitfury, info, buf);
+		else {
+			applog(LOG_DEBUG, "%s %d: Unrecognised string %s",
+			       bitfury->drv->name, bitfury->device_id, buf);
+		}
 	}
 out:
 	return NULL;