From f44d4427e1f0c47713a49c7b306150a048f0fb3b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Thu, 27 Dec 2012 16:27:23 +0100 Subject: digital/beacon: use common uprintf function --- digital/beacon/src/debug_avr.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'digital/beacon/src/debug_avr.h') diff --git a/digital/beacon/src/debug_avr.h b/digital/beacon/src/debug_avr.h index 36667c88..e262462c 100644 --- a/digital/beacon/src/debug_avr.h +++ b/digital/beacon/src/debug_avr.h @@ -29,37 +29,14 @@ #include #include "configuration.h" -#define OPEN_USART HAL_OpenUsart -#define CLOSE_USART HAL_CloseUsart -#define WRITE_USART HAL_WriteUsart -#define READ_USART HAL_ReadUsart -#define USART_CHANNEL APP_USART_CHANNEL #define DEBUG_TASK_PERIOD 100L -typedef enum -{ - FREE, - BUSY -} TUSART_bus_state; - -typedef enum -{ - EMPTY, - FILLED -} TUSART_buffer_level; - /* This function initializes the USART interface for debugging on avr */ void initSerialInterface(void); -/* TX USART Callback */ -void usartTXCallback(void); - /* RX USART Callback */ void usartRXCallback(uint16_t bytesToRead); -/* This function sends data string via the USART interface */ -void uprintf(char *format, ...); - /* This function starts the debug task */ void debug_start_stop_task(void); -- cgit v1.2.3