comment out sd_app_evt_wait() since it does affect response time of USB !!
This commit is contained in:
		@@ -118,8 +118,8 @@ static void wait_for_events(void)
 | 
				
			|||||||
    for (;;)
 | 
					    for (;;)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        // Wait in low power state for any events.
 | 
					        // Wait in low power state for any events.
 | 
				
			||||||
        uint32_t err_code = sd_app_evt_wait();
 | 
					//        uint32_t err_code = sd_app_evt_wait();
 | 
				
			||||||
        APP_ERROR_CHECK(err_code);
 | 
					//        APP_ERROR_CHECK(err_code);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Event received. Process it from the scheduler.
 | 
					        // Event received. Process it from the scheduler.
 | 
				
			||||||
        app_sched_execute();
 | 
					        app_sched_execute();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user