From efe0512e2cba3c360449d1c5394696d6d8201bb2 Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Sun, 24 Jan 2016 15:42:43 +0200 Subject: [PATCH] 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 --- src/usb_moded.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/usb_moded.c b/src/usb_moded.c index c7ca886..7188fe0 100644 --- a/src/usb_moded.c +++ b/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();