summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon/src/debug_avr.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-12-27 16:27:23 +0100
committerFlorent Duchon2013-02-13 21:25:03 +0100
commitf44d4427e1f0c47713a49c7b306150a048f0fb3b (patch)
treefa2e9a1e01ee21d3ace67c1ee9bd3b86c6fcf0f2 /digital/beacon/src/debug_avr.h
parent28f3e60286ae1e272b08d47bbf13f15082752039 (diff)
digital/beacon: use common uprintf function
Diffstat (limited to 'digital/beacon/src/debug_avr.h')
-rw-r--r--digital/beacon/src/debug_avr.h23
1 files changed, 0 insertions, 23 deletions
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 <stdio.h>
#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);