From 167b7b2c785929ddedea2431bb06651bf177feff 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 10ddbc9e0..dfa2bf08d 100644 --- a/src/os_io_seproxyhal.c +++ b/src/os_io_seproxyhal.c @@ -1008,7 +1008,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); } @@ -1559,7 +1559,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; }