diff --git a/src/W800_SDK_v1.00.10/app/gfx/common_screen_components.c b/src/W800_SDK_v1.00.10/app/gfx/common_screen_components.c index 8d9c62c..d6a9911 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/common_screen_components.c +++ b/src/W800_SDK_v1.00.10/app/gfx/common_screen_components.c @@ -2,6 +2,8 @@ #include "watch_peripherals.h" #include "watch_settings.h" +#include "app_log.h" + /*** * It is needed to have a reference on two header_titles because when * switching from one screen using a header to an other screen which is also using one @@ -61,7 +63,7 @@ void common_screen_header_update_title(const char * title) void common_screen_onclick_vibration(void) { - uint16_t vibration_strength = persistency_get_settings()->display.display_vibrate_on_touch_strength*32; + uint16_t vibration_strength = (persistency_get_settings()->display.display_vibrate_on_touch_strength + 1)*32; uint32_t vibration_duration_ms = 0; if(persistency_get_settings()->display.display_vibrate_on_touch_duration) vibration_duration_ms = persistency_get_settings()->display.display_vibrate_on_touch_duration*50 + 50;