+static void CmdSetMux(char *str)\r
+{\r
+ UsbCommand c;\r
+ c.cmd = CMD_SET_ADC_MUX;\r
+ if(strncasecmp(str, "lopkd", 5) == 0) {\r
+ c.ext1 = 0;\r
+ } else if(strncasecmp(str, "loraw", 5) == 0) {\r
+ c.ext1 = 1;\r
+ } else if(strncasecmp(str, "hipkd", 5) == 0) {\r
+ c.ext1 = 2;\r
+ } else if(strncasecmp(str, "hiraw", 5) == 0) {\r
+ c.ext1 = 3;\r
+ }\r
+ SendCommand(&c, FALSE);\r
+}\r
+\r