mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
refactor(console): Enable astyle formatting
This commit is contained in:
parent
fe3fd4ae43
commit
0bfaf775c1
@ -78,7 +78,7 @@ typedef struct {
|
||||
*/
|
||||
typedef struct {
|
||||
int channel; //!< UART channel number (count from zero)
|
||||
int baud_rate; //!< Comunication baud rate
|
||||
int baud_rate; //!< Communication baud rate
|
||||
int tx_gpio_num; //!< GPIO number for TX path, -1 means using default one
|
||||
int rx_gpio_num; //!< GPIO number for RX path, -1 means using default one
|
||||
} esp_console_dev_uart_config_t;
|
||||
|
@ -51,7 +51,7 @@ static void prepare_input_stream(void)
|
||||
assert(tcgetattr(stdin_fileno, &s_orig_termios) == 0);
|
||||
struct termios raw = s_orig_termios;
|
||||
raw.c_iflag |= ICRNL; // we translate to NL because linenoise expects NL
|
||||
raw.c_lflag &= ~(ECHO | ICANON); // turn off echo and cononical mode
|
||||
raw.c_lflag &= ~(ECHO | ICANON); // turn off echo and canonical mode
|
||||
assert(tcsetattr(stdin_fileno, TCSAFLUSH, &raw) == 0);
|
||||
|
||||
// Make sure user does not end up with a broken terminal
|
||||
|
@ -49,7 +49,6 @@ components_not_formatted_temporary:
|
||||
- "/components/bootloader/"
|
||||
- "/components/bt/"
|
||||
- "/components/cmock/"
|
||||
- "/components/console/"
|
||||
- "/components/efuse/"
|
||||
- "/components/esp_coex/"
|
||||
- "/components/esp_eth/"
|
||||
|
Loading…
Reference in New Issue
Block a user