Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartins-ledger committed Sep 20, 2023
1 parent badefad commit 167b7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/os_io_seproxyhal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 167b7b2

Please sign in to comment.