Skip to content

Commit

Permalink
Fix emulator build
Browse files Browse the repository at this point in the history
  • Loading branch information
keepkeyjon committed Nov 16, 2018
1 parent 5d71d76 commit 7dffa77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/keepkey/board/usb_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ void usb_set_debug_rx_callback(usb_rx_callback_t callback);
#endif

#define usb_is_u2f_transport() (false)
#define usbTiny(X) do {} while (0)
#define usb_u2f_tx_helper(X, Y, Z) do {} while (0)
#define ENDPOINT_ADDRESS_U2F_IN (0)
#ifndef EMULATOR
#define usbTiny(X) do {} while (0)
#endif

#endif

0 comments on commit 7dffa77

Please sign in to comment.