1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 23:08:14 +00:00

doc(core): update comments around UDP emulator

drop unused define
This commit is contained in:
Pavol Rusnak 2021-03-09 16:19:03 +01:00
parent a8c500bffd
commit 5cff6ac964
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -40,12 +40,10 @@ __fatal_error(const char *expr, const char *msg, const char *file, int line,
? (void)0 \
: __fatal_error(#expr, msg, __FILE__, __LINE__, __func__))
// emulator opens UDP server on TREZOR_UDP_PORT port
// and emulates HID/WebUSB interface TREZOR_UDP_IFACE
// emulator opens UDP server and emulates HID/WebUSB interfaces
// gracefully ignores all other USB interfaces
#define USBD_MAX_NUM_INTERFACES 8
#define TREZOR_UDP_PORT 21324
static struct {
usb_iface_type_t type;