comment out sd_app_evt_wait() since it does affect response time of USB !!

This commit is contained in:
hathach 2018-04-16 18:42:12 +07:00
parent 8281edab29
commit f7c79d4c39

View File

@ -118,8 +118,8 @@ static void wait_for_events(void)
for (;;)
{
// Wait in low power state for any events.
uint32_t err_code = sd_app_evt_wait();
APP_ERROR_CHECK(err_code);
// uint32_t err_code = sd_app_evt_wait();
// APP_ERROR_CHECK(err_code);
// Event received. Process it from the scheduler.
app_sched_execute();