mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
firmware: fix unused argument in collect_hw_entropy
This commit is contained in:
parent
540be49897
commit
827df268a6
@ -93,6 +93,7 @@ void check_lock_screen(void)
|
|||||||
static void collect_hw_entropy(bool privileged)
|
static void collect_hw_entropy(bool privileged)
|
||||||
{
|
{
|
||||||
#if EMULATOR
|
#if EMULATOR
|
||||||
|
(void)privileged;
|
||||||
memzero(HW_ENTROPY_DATA, HW_ENTROPY_LEN);
|
memzero(HW_ENTROPY_DATA, HW_ENTROPY_LEN);
|
||||||
#else
|
#else
|
||||||
if (privileged) {
|
if (privileged) {
|
||||||
|
Loading…
Reference in New Issue
Block a user