mirror of https://github.com/ARMmbed/mbed-os.git
Tests: USB: Update code comments
parent
edf360d2fc
commit
3d4d10191c
|
@ -35,8 +35,16 @@ MSG_KEY_LOOPBACK = 'loopback'
|
|||
MSG_KEY_CHANGE_LINE_CODING = 'change_lc'
|
||||
|
||||
RX_BUFF_SIZE = 32
|
||||
|
||||
# This delay eliminates the possibility of the device detecting
|
||||
# the port being closed when still waiting for data.
|
||||
TERM_CLOSE_DELAY = 0.01
|
||||
|
||||
# A duration the serial terminal is open on the host side
|
||||
# during terminal reopen test.
|
||||
TERM_REOPEN_DELAY = 0.1
|
||||
|
||||
# 6 (baud) + 2 (bits) + 1 (parity) + 1 (stop) + 3 * comma
|
||||
LINE_CODING_STRLEN = 13
|
||||
|
||||
|
||||
|
|
|
@ -33,9 +33,7 @@
|
|||
#define USB_SERIAL_PID 0x2012
|
||||
|
||||
#define MSG_KEY_LEN 24
|
||||
|
||||
#define MSG_VALUE_DUMMY "0"
|
||||
|
||||
#define MSG_KEY_DEVICE_READY "ready"
|
||||
#define MSG_KEY_SERIAL_NUMBER "usb_dev_sn"
|
||||
#define MSG_KEY_PORT_OPEN_WAIT "port_open_wait"
|
||||
|
|
Loading…
Reference in New Issue