1
0
mirror of https://github.com/peterantypas/maiana.git synced 2025-06-02 15:50:14 -07:00

Fixed UI to enable FW update when board boots in 'rescue' mode

This commit is contained in:
Peter Antypas 2022-02-24 12:21:53 -08:00
parent 9e0942c814
commit 90f357e110

View File

@ -33,7 +33,8 @@ class MainWindow(MainFrame):
elif status == MaianaStatus.DFU: elif status == MaianaStatus.DFU:
wx.MessageBox(b'MAIANA is currently in firmware update mode. This is the only task you can perform.', wx.MessageBox(b'MAIANA is currently in firmware update mode. This is the only task you can perform.',
'DFU warning', wx.OK) 'DFU warning', wx.OK)
self.enableUI() #self.enableUI()
self.m_FWUpdatePnl.Enable()
self.m_SerialBtn.SetLabel(b'Disconnect') self.m_SerialBtn.SetLabel(b'Disconnect')
self.m_StationSaveBtn.Disable() self.m_StationSaveBtn.Disable()
else: else: