diff --git a/core/embed/io/haptic/drv2625/drv2625.c b/core/embed/io/haptic/drv2625/drv2625.c index 822bde7b74b..e547046b789 100644 --- a/core/embed/io/haptic/drv2625/drv2625.c +++ b/core/embed/io/haptic/drv2625/drv2625.c @@ -41,6 +41,10 @@ #define BOOTLOADER_ENTRY_EFFECT_AMPLITUDE 100 // Duration of the bootloader entry effect #define BOOTLOADER_ENTRY_EFFECT_DURATION 300 +// Amplitude of the power on effect +#define POWER_ON_EFFECT_AMPLITUDE 50 +// Duration of the power on effect +#define POWER_ON_EFFECT_DURATION 50 // Actuator configuration #include HAPTIC_ACTUATOR @@ -354,6 +358,9 @@ bool haptic_play(haptic_effect_t effect) { return haptic_play_rtp(BOOTLOADER_ENTRY_EFFECT_AMPLITUDE, BOOTLOADER_ENTRY_EFFECT_DURATION); break; + case HAPTIC_POWER_ON: + return haptic_play_rtp(POWER_ON_EFFECT_AMPLITUDE, + POWER_ON_EFFECT_DURATION); default: break; } diff --git a/core/embed/io/haptic/inc/io/haptic.h b/core/embed/io/haptic/inc/io/haptic.h index aef745ce887..f24a1163273 100644 --- a/core/embed/io/haptic/inc/io/haptic.h +++ b/core/embed/io/haptic/inc/io/haptic.h @@ -28,6 +28,8 @@ typedef enum { HAPTIC_HOLD_TO_CONFIRM = 1, // Bootloader entry HAPTIC_BOOTLOADER_ENTRY = 2, + // Power on + HAPTIC_POWER_ON = 3, } haptic_effect_t; #ifdef KERNEL_MODE diff --git a/core/embed/projects/bootloader/main.c b/core/embed/projects/bootloader/main.c index 57d3739a559..e8d80142cf6 100644 --- a/core/embed/projects/bootloader/main.c +++ b/core/embed/projects/bootloader/main.c @@ -196,7 +196,7 @@ static secbool boot_sequence(void) { } #ifdef USE_HAPTIC if (elapsed >= 500 && !haptic_played) { - haptic_play(HAPTIC_BUTTON_PRESS); + haptic_play(HAPTIC_POWER_ON); haptic_played = true; } #endif