diff src/comm.asm @ 113:f3062a611eef

Merge
author heinrichsweikamp
date Mon, 23 Jun 2014 16:14:33 +0200
parents d39493c786a2
children 40ff64d60054
line wrap: on
line diff
--- a/src/comm.asm	Tue Jun 17 12:10:33 2014 +0200
+++ b/src/comm.asm	Mon Jun 23 16:14:33 2014 +0200
@@ -53,6 +53,13 @@
 	; test for comm
 	global	comm_mode
 comm_mode:
+    WAITMS d'1'
+    btfss   vusb_in                     ; USB plugged in?
+    return                              ; No, it was only a glitch
+    WAITMS d'1'
+    btfss   vusb_in                     ; USB plugged in?
+    return                              ; No, it was only a glitch
+
     call    TFT_ClearScreen
     WIN_COLOR   color_greenish
 	WIN_SMALL	comm_title_column, comm_title_row