Make lint happier

This commit is contained in:
BTChip github
2022-03-22 08:40:36 +01:00
parent d04ed9aef1
commit 52738e6bf5
5 changed files with 40 additions and 39 deletions

View File

@@ -116,11 +116,11 @@ void handleSetPlugin(uint8_t p1,
unsigned int *tx);
void handlePerformPrivacyOperation(uint8_t p1,
uint8_t p2,
uint8_t *workBuffer,
uint16_t dataLength,
unsigned int *flags,
unsigned int *tx);
uint8_t p2,
uint8_t *workBuffer,
uint16_t dataLength,
unsigned int *flags,
unsigned int *tx);
#ifdef HAVE_ETH2

View File

@@ -542,11 +542,11 @@ void handleApdu(unsigned int *flags, unsigned int *tx) {
case INS_PERFORM_PRIVACY_OPERATION:
handlePerformPrivacyOperation(G_io_apdu_buffer[OFFSET_P1],
G_io_apdu_buffer[OFFSET_P2],
G_io_apdu_buffer + OFFSET_CDATA,
G_io_apdu_buffer[OFFSET_LC],
flags,
tx);
G_io_apdu_buffer[OFFSET_P2],
G_io_apdu_buffer + OFFSET_CDATA,
G_io_apdu_buffer[OFFSET_LC],
flags,
tx);
break;
case INS_SIGN: