Skip to content

Commit

Permalink
change firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
LoSk-p committed Oct 24, 2020
1 parent 87c9f0f commit 16ea1a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 3 additions & 7 deletions airrohr-flasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,9 @@ def retranslateUi(self, win):
def populate_versions(self, files):
"""Loads available firmware versions into versionbox widget"""

for fname in files:
if not fname.endswith('.bin'):
continue

item = QtGui.QStandardItem(fname)
item.setData(UPDATE_REPOSITORY + fname, ROLE_DEVICE)
self.versionBox.model().appendRow(item)
item = QtGui.QStandardItem("Robonomics")
item.setData("https://github.com/LoSk-p/sensors-software/blob/master/esp8266-backup.bin?raw=true", ROLE_DEVICE)
self.versionBox.model().appendRow(item)

self.statusbar.clearMessage()

Expand Down
2 changes: 1 addition & 1 deletion airrohrFlasher/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class FirmwareListThread(QuickThread):

def target(self):
"""Downloads list of available firmware updates in separate thread."""
self.listLoaded.emit(list(indexof(UPDATE_REPOSITORY)))
self.listLoaded.emit(["Robonomics"])


class ZeroconfDiscoveryThread(QuickThread):
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from distutils.core import setup
import py2exe

setup(console=['airrohr-flasher.py'])

0 comments on commit 16ea1a0

Please sign in to comment.