1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-30 01:58:11 +00:00

feat(core): tune consumption mask protection on T3B1

[no changelog]
This commit is contained in:
tychovrahe 2024-08-02 11:27:48 +02:00 committed by TychoVrahe
parent c42c268e05
commit 4b68431f7c

View File

@ -20,8 +20,8 @@
#include STM32_HAL_H #include STM32_HAL_H
#include "rng.h" #include "rng.h"
#define SAMPLES 110 #define SAMPLES 119
#define TIMER_PERIOD 16640 // cca 10 KHz @ 160MHz #define TIMER_PERIOD 16000 // cca 10 KHz @ 160MHz
uint32_t pwm_data[SAMPLES] = {0}; uint32_t pwm_data[SAMPLES] = {0};