Subversion Repositories Projects

Rev

Rev 564 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 564 Rev 565
Line 11... Line 11...
11
import time
11
import time
12
import traceback
12
import traceback
13
import getopt
13
import getopt
14
import sys
14
import sys
Line 15... Line -...
15
 
-
 
-
 
15
 
Line 16... Line 16...
16
 
16
CHECK_VERSION = False
Line 17... Line 17...
17
 
17
 
18
CHANNEL_NAMES = ["GyroYaw", "GyroRoll", "GyroNick", "Pressure", "Batt", "AccTop", "AccRoll", "AccNick"]
18
CHANNEL_NAMES = ["GyroYaw", "GyroRoll", "GyroNick", "Pressure", "Batt", "AccTop", "AccRoll", "AccNick"]
Line 118... Line 118...
118
        time.sleep(.1)
118
        time.sleep(.1)
119
        msg = mk.getVersionMsg()
119
        msg = mk.getVersionMsg()
120
        version = msg.getVersion()
120
        version = msg.getVersion()
121
        if parVerbose:
121
        if parVerbose:
122
          print "Version: %d.%d" % version
122
          print "Version: %d.%d" % version
123
        if version != (0,74):
123
        if CHECK_VERSION and version != (0,74):
124
          print "INVALID VERSION", version
124
          print "INVALID VERSION", version
125
          sys.exit(2)
125
          sys.exit(2)
Line 126... Line 126...
126
         
126