mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
firmware: don't return CYCCNT contents as it is always zero anyway (cycle counter is disabled)
This commit is contained in:
parent
8190e0909e
commit
77cc62644d
@ -1,9 +1,8 @@
|
||||
#include STM32_HAL_H
|
||||
|
||||
#include "lib/utils/interrupt_char.h"
|
||||
|
||||
static inline mp_uint_t mp_hal_ticks_cpu(void) {
|
||||
return DWT->CYCCNT;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void mp_hal_set_vcp_iface(int iface_num);
|
||||
|
Loading…
Reference in New Issue
Block a user