Skip to content

Commit

Permalink
fixup! refactor(core/embed): prepare haptic driver for low power mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cepetr committed Jun 17, 2024
1 parent 450eed6 commit 0d4c7c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/embed/trezorhal/stm32u5/haptic/drv2625/drv2625.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ typedef struct {
} haptic_driver_t;

// Haptic driver instance
static haptic_driver_t g_haptic_driver;
static haptic_driver_t g_haptic_driver = {
.initialized = false,
};

static bool drv2625_set_reg(uint8_t addr, uint8_t value) {
uint8_t data[] = {addr, value};
Expand Down

0 comments on commit 0d4c7c4

Please sign in to comment.