Skip to content

Commit

Permalink
dyn-modes: Always read dynamic modes.
Browse files Browse the repository at this point in the history
Dynamic modes list reading should not be disabled when
appsync is not there, as quite a number of them work
without it.

Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>
  • Loading branch information
philippedeswert authored and spiiroin committed Nov 2, 2016
1 parent 9686147 commit efe0512
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/usb_moded.c
Expand Up @@ -624,9 +624,11 @@ static void usb_moded_init(void)
readlist(diag_mode);
/* make sure all services are down when starting */
appsync_stop(1);
modelist = read_mode_list(diag_mode);
#endif /* APP_SYNC */

/* always read dyn modes even if appsync is not used */
modelist = read_mode_list(diag_mode);

if(check_trigger())
trigger_init();

Expand Down

0 comments on commit efe0512

Please sign in to comment.