Skip to content

Commit

Permalink
Disable debug printouts, they should be configured from the cmakelist…
Browse files Browse the repository at this point in the history
… files
  • Loading branch information
xluciano committed Nov 22, 2023
1 parent 700ec23 commit 3085f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion modules/drivers/uart/src/rtos_uart_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#define DEBUG_UNIT RTOS_UART_RX
#define DEBUG_PRINT_ENABLE_RTOS_UART_RX 1

#include <xcore/triggerable.h>
#include <string.h>
Expand Down
5 changes: 2 additions & 3 deletions modules/drivers/uart/src/rtos_uart_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#define DEBUG_UNIT RTOS_UART_TX
#define DEBUG_PRINT_ENABLE_RTOS_UART_TX 1

#include "rtos_uart_tx.h"

Expand All @@ -21,7 +20,7 @@ static void uart_tx_local_write(
uart_tx(&ctx->dev, buff[i]);
rtos_interrupt_unmask_all();
}

rtos_osal_mutex_put(&ctx->lock);
}

Expand All @@ -44,7 +43,7 @@ void rtos_uart_tx_init(
const uart_parity_t parity,
const uint8_t stop_bits,
hwtimer_t tmr){

//uart init
uart_tx_blocking_init(
&ctx->dev,
Expand Down

0 comments on commit 3085f1f

Please sign in to comment.