1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 18:49:07 +00:00

firmware: don't return CYCCNT contents as it is always zero anyway (cycle counter is disabled)

This commit is contained in:
Pavol Rusnak 2017-11-05 18:02:47 +01:00
parent 8190e0909e
commit 77cc62644d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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);