1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 13:28:10 +00:00
trezor-firmware/micropython/extmod/modtrezormsg/unix-usb-mock.h

32 lines
418 B
C
Raw Normal View History

2017-04-21 16:12:33 +00:00
#include "../../trezorhal/usb.h"
int usb_init(const usb_dev_info_t *dev_info) {
return 0;
}
int usb_deinit(void) {
return 0;
}
int usb_start(void) {
return 0;
}
int usb_stop(void) {
return 0;
}
int usb_hid_add(const usb_hid_info_t *info) {
return 0;
}
int usb_vcp_add(const usb_vcp_info_t *info) {
return 0;
}
void pendsv_kbd_intr(void) {
}
2017-05-09 14:22:07 +00:00
void mp_hal_set_vcp_iface(int iface_num) {
}