mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Correct source code encoding
This commit is contained in:
parent
a7d00f44ab
commit
0efb4a11ec
@ -47,21 +47,21 @@
|
||||
|
||||
/* command type codes */
|
||||
#define AVRC_CMD_CTRL 0 /* Instruct a target to perform an operation */
|
||||
#define AVRC_CMD_STATUS 1 /* Check a device’s current status */
|
||||
#define AVRC_CMD_STATUS 1 /* Check a devices current status */
|
||||
#define AVRC_CMD_SPEC_INQ 2 /* Check whether a target supports a particular
|
||||
control command; all operands are included */
|
||||
#define AVRC_CMD_NOTIF 3 /* Used for receiving notification of a change in a device’s state */
|
||||
#define AVRC_CMD_NOTIF 3 /* Used for receiving notification of a change in a devices state */
|
||||
#define AVRC_CMD_GEN_INQ 4 /* Check whether a target supports a particular
|
||||
control command; operands are not included */
|
||||
|
||||
/* response type codes */
|
||||
#define AVRC_RSP_NOT_IMPL 8 /* The target does not implement the command specified
|
||||
by the opcode and operand,
|
||||
or doesn’t implement the specified subunit */
|
||||
or doesnt implement the specified subunit */
|
||||
#define AVRC_RSP_ACCEPT 9 /* The target executed or is executing the command */
|
||||
#define AVRC_RSP_REJ 10 /* The target implements the command specified by the
|
||||
opcode but cannot respond because the current state
|
||||
of the target doesn’t allow it */
|
||||
of the target doesnt allow it */
|
||||
#define AVRC_RSP_IN_TRANS 11 /* The target implements the status command but it is
|
||||
in a state of transition; the status command may
|
||||
be retried at a future time */
|
||||
@ -70,7 +70,7 @@
|
||||
commands, the target returns stable and includes
|
||||
the status results */
|
||||
#define AVRC_RSP_CHANGED 13 /* The response frame contains a notification that the
|
||||
target device’s state has changed */
|
||||
target devices state has changed */
|
||||
#define AVRC_RSP_INTERIM 15 /* For control commands, the target has accepted the
|
||||
request but cannot return information within 100
|
||||
milliseconds; for notify commands, the target accepted
|
||||
|
@ -1464,7 +1464,7 @@ esp_err_t uart_set_mode(uart_port_t uart_num, uart_mode_t mode)
|
||||
case UART_MODE_RS485_COLLISION_DETECT:
|
||||
// This mode allows read while transmitting that allows collision detection
|
||||
p_uart_obj[uart_num]->coll_det_flg = false;
|
||||
// Transmitter’s output signal loop back to the receiver’s input signal
|
||||
// Transmitters output signal loop back to the receivers input signal
|
||||
UART[uart_num]->rs485_conf.tx_rx_en = 0 ;
|
||||
// Transmitter should send data when its receiver is busy
|
||||
UART[uart_num]->rs485_conf.rx_busy_tx_en = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user