SendMessage(CommandEdit, EM_SETSEL, strlen(str), strlen(str));\r
}\r
\r
-void ShowGui(void)\r
+void ShowGui()\r
{\r
WNDCLASSEX wc;\r
memset(&wc, 0, sizeof(wc));\r
}\r
}\r
\r
- UsbCommand c;\r
- if(ReceiveCommandPoll(&c)) {\r
- UsbCommandReceived(&c);\r
+ if (!offline)\r
+ {\r
+ UsbCommand c;\r
+ if(ReceiveCommandPoll(&c))\r
+ UsbCommandReceived(&c);\r
}\r
\r
Sleep(10);\r