Browse Source

delay on disconnecting

cuu 5 years ago
parent
commit
10a91108dd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Menu/GameShell/10_Settings/Bluetooth/__init__.py

+ 3 - 1
Menu/GameShell/10_Settings/Bluetooth/__init__.py

@@ -238,7 +238,9 @@ class BleInfoPage(Page):
             dev.Disconnect()
         except Exception,e:
             print(str(e))        
-       
+        
+        pygame.time.delay(300)
+        self.ReturnToUpLevelPage()
         self._Screen.Draw()
         self._Screen.SwapAndShow()