mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +00:00
doc(core): update comments around UDP emulator
drop unused define
This commit is contained in:
parent
a8c500bffd
commit
5cff6ac964
@ -40,12 +40,10 @@ __fatal_error(const char *expr, const char *msg, const char *file, int line,
|
|||||||
? (void)0 \
|
? (void)0 \
|
||||||
: __fatal_error(#expr, msg, __FILE__, __LINE__, __func__))
|
: __fatal_error(#expr, msg, __FILE__, __LINE__, __func__))
|
||||||
|
|
||||||
// emulator opens UDP server on TREZOR_UDP_PORT port
|
// emulator opens UDP server and emulates HID/WebUSB interfaces
|
||||||
// and emulates HID/WebUSB interface TREZOR_UDP_IFACE
|
|
||||||
// gracefully ignores all other USB interfaces
|
// gracefully ignores all other USB interfaces
|
||||||
|
|
||||||
#define USBD_MAX_NUM_INTERFACES 8
|
#define USBD_MAX_NUM_INTERFACES 8
|
||||||
#define TREZOR_UDP_PORT 21324
|
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
usb_iface_type_t type;
|
usb_iface_type_t type;
|
||||||
|
Loading…
Reference in New Issue
Block a user