From 666b9017ac22134dea408f5b4e84182afd3f1a42 Mon Sep 17 00:00:00 2001 From: Jorge Martins Date: Wed, 20 Sep 2023 14:27:27 +0200 Subject: [PATCH] fix code style --- src/os_io_seproxyhal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os_io_seproxyhal.c b/src/os_io_seproxyhal.c index 9c2a12847..d89af470a 100644 --- a/src/os_io_seproxyhal.c +++ b/src/os_io_seproxyhal.c @@ -1005,7 +1005,7 @@ void io_seproxyhal_setup_ticker(unsigned int interval_ms) buffer[1] = 0; buffer[2] = 2; buffer[3] = (interval_ms >> 8) & 0xff; - buffer[4] = (interval_ms) & 0xff; + buffer[4] = (interval_ms) &0xff; io_seproxyhal_spi_send(buffer, 5); } @@ -1556,7 +1556,7 @@ unsigned short io_exchange(unsigned char channel, unsigned short tx_len) && os_global_pin_is_validated() != BOLOS_TRUE) { tx_len = 0; G_io_apdu_buffer[(tx_len)++] = (SWO_SEC_PIN_15 >> 8) & 0xFF; - G_io_apdu_buffer[(tx_len)++] = (SWO_SEC_PIN_15) & 0xFF; + G_io_apdu_buffer[(tx_len)++] = (SWO_SEC_PIN_15) &0xFF; channel &= ~IO_FLAGS; goto reply_apdu; }