api.c correct DEVICECODE and ordering
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
diff --git a/api.c b/api.c
index 60636c0..83f8132 100644
--- a/api.c
+++ b/api.c
@@ -156,6 +156,9 @@ static const char *DEVICECODE = ""
#ifdef USE_AVALON
"AVA "
#endif
+#ifdef USE_BAB
+ "BaB "
+#endif
#ifdef USE_BFLSC
"BAS "
#endif
@@ -165,24 +168,18 @@ static const char *DEVICECODE = ""
#ifdef USE_BITFURY
"BFU "
#endif
-#ifdef USE_HASHFAST
- "HFA "
-#endif
#ifdef USE_DRILLBIT
"DRB "
#endif
+#ifdef USE_HASHFAST
+ "HFA "
+#endif
#ifdef USE_ICARUS
"ICA "
#endif
-#ifdef USE_MODMINER
- "MMQ "
-#endif
#ifdef USE_KNC
"KnC "
#endif
-#ifdef USE_BAB
- "BaB "
-#endif
#ifdef USE_MINION
"MBA "
#endif