mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
posix: remove accidental debug output
This commit is contained in:
parent
4437baf628
commit
d762ae9adc
@ -281,7 +281,6 @@ static void btstack_uart_posix_set_flowcontrol_option(struct termios * toptions,
|
|||||||
static int btstack_uart_posix_set_parity(int parity){
|
static int btstack_uart_posix_set_parity(int parity){
|
||||||
int fd = transport_data_source.source.fd;
|
int fd = transport_data_source.source.fd;
|
||||||
btstack_uart_posix_set_parity_option(&btstack_uart_block_termios, parity);
|
btstack_uart_posix_set_parity_option(&btstack_uart_block_termios, parity);
|
||||||
printf("set parity %lx", btstack_uart_block_termios.c_cflag);
|
|
||||||
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
||||||
log_error("Couldn't set term attributes");
|
log_error("Couldn't set term attributes");
|
||||||
return -1;
|
return -1;
|
||||||
@ -293,7 +292,6 @@ static int btstack_uart_posix_set_parity(int parity){
|
|||||||
static int btstack_uart_posix_set_flowcontrol(int flowcontrol){
|
static int btstack_uart_posix_set_flowcontrol(int flowcontrol){
|
||||||
int fd = transport_data_source.source.fd;
|
int fd = transport_data_source.source.fd;
|
||||||
btstack_uart_posix_set_flowcontrol_option(&btstack_uart_block_termios, flowcontrol);
|
btstack_uart_posix_set_flowcontrol_option(&btstack_uart_block_termios, flowcontrol);
|
||||||
printf("set flow %lx", btstack_uart_block_termios.c_cflag);
|
|
||||||
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
||||||
log_error("Couldn't set term attributes");
|
log_error("Couldn't set term attributes");
|
||||||
return -1;
|
return -1;
|
||||||
@ -338,8 +336,6 @@ static int btstack_uart_posix_open(void){
|
|||||||
// flowcontrol
|
// flowcontrol
|
||||||
btstack_uart_posix_set_flowcontrol_option(&btstack_uart_block_termios, flowcontrol);
|
btstack_uart_posix_set_flowcontrol_option(&btstack_uart_block_termios, flowcontrol);
|
||||||
|
|
||||||
printf("init %lx", btstack_uart_block_termios.c_cflag);
|
|
||||||
|
|
||||||
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
if(tcsetattr(fd, TCSANOW, &btstack_uart_block_termios) < 0) {
|
||||||
log_error("Couldn't set term attributes");
|
log_error("Couldn't set term attributes");
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user