Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Jan 22, 2024
1 parent 0df3e1b commit ca0bf99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
5 changes: 1 addition & 4 deletions src/apdu_pubkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@

size_t handle_apdu_get_public_key(uint8_t instruction, volatile uint32_t* flags);

void prompt_address(
bool baking,
ui_callback_t ok_cb,
ui_callback_t cxl_cb);
void prompt_address(bool baking, ui_callback_t ok_cb, ui_callback_t cxl_cb);
7 changes: 3 additions & 4 deletions src/ui_pubkey_bagl.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@

#include <string.h>

__attribute__((noreturn)) void prompt_address(
bool baking,
ui_callback_t ok_cb,
ui_callback_t cxl_cb) {
__attribute__((noreturn)) void prompt_address(bool baking,
ui_callback_t ok_cb,
ui_callback_t cxl_cb) {
init_screen_stack();

#ifdef BAKING_APP
Expand Down
6 changes: 1 addition & 5 deletions src/ui_pubkey_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ static void verify_address(void) {
nbgl_useCaseAddressConfirmation(transactionContext.buffer, confirmation_callback);
}

void prompt_address(
bool baking,
ui_callback_t ok_cb,
ui_callback_t cxl_cb) {

void prompt_address(bool baking, ui_callback_t ok_cb, ui_callback_t cxl_cb) {
transactionContext.ok_cb = ok_cb;
transactionContext.cxl_cb = cxl_cb;

Expand Down

0 comments on commit ca0bf99

Please sign in to comment.