Skip to content

Commit

Permalink
fixed copy/paste mistake and stop bit setting regression
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Dec 30, 2023
1 parent 2dc23ed commit 21111b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/uart_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static void uartConfig (uart_t *uart, uint32_t baud_rate)
UART_MUTEX_LOCK(uart);

uart_ll_set_data_bit_num(uart->dev, UART_DATA_8_BITS);
uart_ll_set_stop_bits(uart->dev, UART_STOP_BITS_2);
uart_ll_set_stop_bits(uart->dev, UART_STOP_BITS_1);
uart_ll_set_parity(uart->dev, UART_PARITY_DISABLE);

// Note: UART0 pin mappings are set at boot, no need to set here unless override is required
Expand Down
2 changes: 1 addition & 1 deletion platformio.cnc3040.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include_dir = main
build_flags =

[env:esp32doit-devkit-v1]
platform = espressif32 @ @ ~4.0.0
platform = espressif32 @ ~4.0.0
framework = espidf
board = esp32doit-devkit-v1
board_build.partitions = partitions.csv
Expand Down
2 changes: 1 addition & 1 deletion platformio.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include_dir = main
build_flags =

[env:%env_name%]
platform = espressif32 @ @ ~4.0.0
platform = espressif32 @ ~4.0.0
framework = espidf
board =%board%
board_build.partitions = partitions.csv
Expand Down

0 comments on commit 21111b1

Please sign in to comment.