Skip to content
Permalink
Browse files
dyn-modes: Always read dynamic modes.
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 efe0512e2cba3c360449d1c5394696d6d8201bb2
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/usb_moded.c
@@ -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();

0 comments on commit efe0512

Please sign in to comment.