Skip to content
Browse files

generate.py: change default to protocol 1.0

also fix interpreter path
  • Loading branch information...
1 parent 7a41def commit 4b132e776aa8fccf64b19be95c5cdb63500b3fb8 @tridge committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 generate.py
View
4 generate.py 100644 → 100755
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
"""\
generator.py is a GUI front-end for mavgen, a python based MAVLink
header generation tool.
@@ -100,7 +100,7 @@ def createWidgets(self):
self.protocol_label = Label( self, text="Protocol")
self.protocol_label.grid(row=3, column=0)
self.protocol_menu = OptionMenu(self,self.protocol_value,*self.protocol_choices)
- self.protocol_value.set(self.protocol_choices[0])
+ self.protocol_value.set(self.protocol_choices[1])
self.protocol_menu.config(width=10)
self.protocol_menu.grid(row=3, column=1,sticky=W)

0 comments on commit 4b132e7

Please sign in to comment.
Something went wrong with that request. Please try again.