X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=Navigation.py;h=bda6f584395327a7e1d4c7401328532f35a1d608;hb=4690ebce3b552f8c5fd45cd3ad773444d7355038;hp=f46b92d44fac0784ed55ae1ea2ebced32a05a29c;hpb=92362f1b73f1e61ad0cb1c581b318b360e0bb6fe;p=vuplus_dvbapp diff --git a/Navigation.py b/Navigation.py index f46b92d..bda6f58 100644 --- a/Navigation.py +++ b/Navigation.py @@ -33,15 +33,9 @@ class Navigation: clearFPWasTimerWakeup() if getFPWasTimerWakeup(): # sanity check to detect if the FP driver is working correct! print "buggy fp driver detected!!! please update drivers.... ignore timer wakeup!" - setFPWakeuptime(0) elif len(self.getRecordings()) or abs(self.RecordTimer.getNextRecordingTime() - time()) <= 360: - setFPWakeuptime(0x89ABCDEF) - if getFPWakeuptime() != 0x89ABCDEF: # sanity check to detect if the FP Atmel Firmware is working correct! - print "buggy atmel firmware detected!! atmel update needed... ignore fp timer wakeup!" - setFPWakeuptime(0) - elif not Screens.Standby.inTryQuitMainloop: # not a shutdown messagebox is open - RecordTimer.RecordTimerEntry.TryQuitMainloop(0) # start shutdown handling - setFPWakeuptime(1) + if not Screens.Standby.inTryQuitMainloop: # not a shutdown messagebox is open + RecordTimer.RecordTimerEntry.TryQuitMainloop(False) # start shutdown handling self.SleepTimer = SleepTimer.SleepTimer() def dispatchEvent(self, i):