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:
parent
9e0942c814
commit
90f357e110
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user