Set idle timeout to 15s before going to sleep.
This commit is contained in:
		
							parent
							
								
									e22c0609b5
								
							
						
					
					
						commit
						81a0ad73d9
					
				@ -67,7 +67,7 @@ namespace Pinetime {
 | 
				
			|||||||
        void Work();
 | 
					        void Work();
 | 
				
			||||||
        bool isBleDiscoveryTimerRunning = false;
 | 
					        bool isBleDiscoveryTimerRunning = false;
 | 
				
			||||||
        uint8_t bleDiscoveryTimer = 0;
 | 
					        uint8_t bleDiscoveryTimer = 0;
 | 
				
			||||||
        static constexpr uint32_t idleTime = 5000;
 | 
					        static constexpr uint32_t idleTime = 15000;
 | 
				
			||||||
        TimerHandle_t idleTimer;
 | 
					        TimerHandle_t idleTimer;
 | 
				
			||||||
        bool doNotGoToSleep = false;
 | 
					        bool doNotGoToSleep = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user