From 4b68431f7cc04f5e0ae041e4bf2ddc82bba79cd3 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Fri, 2 Aug 2024 11:27:48 +0200 Subject: [PATCH] feat(core): tune consumption mask protection on T3B1 [no changelog] --- core/embed/trezorhal/stm32u5/consumption_mask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/trezorhal/stm32u5/consumption_mask.c b/core/embed/trezorhal/stm32u5/consumption_mask.c index 859b430e9..fcc51b3f3 100644 --- a/core/embed/trezorhal/stm32u5/consumption_mask.c +++ b/core/embed/trezorhal/stm32u5/consumption_mask.c @@ -20,8 +20,8 @@ #include STM32_HAL_H #include "rng.h" -#define SAMPLES 110 -#define TIMER_PERIOD 16640 // cca 10 KHz @ 160MHz +#define SAMPLES 119 +#define TIMER_PERIOD 16000 // cca 10 KHz @ 160MHz uint32_t pwm_data[SAMPLES] = {0};