Guest User

Untitled

a guest
Jul 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. diff --git a/apps/gui/wps.c b/apps/gui/wps.c
  2. index d0e1b6f..85639f7 100644
  3. --- a/apps/gui/wps.c
  4. +++ b/apps/gui/wps.c
  5. @@ -721,6 +721,7 @@ long gui_wps_show(void)
  6. bool vol_changed = false;
  7. int i;
  8. long last_left = 0, last_right = 0;
  9. + long curr_tick = current_tick;
  10.  
  11. #ifdef HAVE_LCD_CHARCELLS
  12. status_set_audio(true);
  13. @@ -1177,6 +1178,8 @@ long gui_wps_show(void)
  14. FOR_NB_SCREENS(i)
  15. gui_wps[i].display->backdrop_show(BACKDROP_SKIN_WPS);
  16. send_event(GUI_EVENT_REFRESH, gwps_enter_wps);
  17. + long difftime = current_tick - curr_tick;
  18. + splashf(HZ, "done, needed %ld:%ld", difftime/HZ, difftime%HZ);
  19. wps_sync_data.do_full_update = update = false;
  20. }
  21. else if (wps_sync_data.do_full_update || update)
Add Comment
Please, Sign In to add comment