[airborne] move print.h to subsystems/datalink/uart_print.h

This commit is contained in:
Felix Ruess
2013-03-02 18:46:20 +01:00
parent b37d956cff
commit b9bf2a5778
4 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include "mcu_periph/sys_time.h" #include "mcu_periph/sys_time.h"
#include "led.h" #include "led.h"
#include "mcu_periph/uart.h" #include "mcu_periph/uart.h"
#include "print.h" #include "subsystems/datalink/uart_print.h"
static inline void main_init( void ); static inline void main_init( void );
static inline void main_periodic_task( void ); static inline void main_periodic_task( void );
+1 -1
View File
@@ -4,7 +4,7 @@
#include "led.h" #include "led.h"
#include "interrupt_hw.h" #include "interrupt_hw.h"
#include "mcu_periph/uart.h" #include "mcu_periph/uart.h"
#include "print.h" #include "subsystems/datalink/uart_print.h"
//#include "messages.h" //#include "messages.h"
//#include "subsystems/datalink/downlink.h" //#include "subsystems/datalink/downlink.h"
@@ -1,6 +1,4 @@
/* /*
* Paparazzi $I$
*
* Copyright (C) 2005 Pascal Brisset, Antoine Drouin * Copyright (C) 2005 Pascal Brisset, Antoine Drouin
* *
* This file is part of paparazzi. * This file is part of paparazzi.
@@ -19,11 +17,10 @@
* along with paparazzi; see the file COPYING. If not, write to * along with paparazzi; see the file COPYING. If not, write to
* the Free Software Foundation, 59 Temple Place - Suite 330, * the Free Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*
*/ */
#ifndef PRINT_H #ifndef UART_PRINT_H
#define PRINT_H #define UART_PRINT_H
#include "mcu_periph/uart.h" #include "mcu_periph/uart.h"
#include "mcu_periph/usb_serial.h" #include "mcu_periph/usb_serial.h"
@@ -109,5 +106,5 @@
#define UsbSPrintString(s) _PrintString(VCOM_putchar, s) #define UsbSPrintString(s) _PrintString(VCOM_putchar, s)
#endif /* PRINT_H */ #endif /* UART_PRINT_H */
+1 -1
View File
@@ -21,7 +21,7 @@
*/ */
#include "mcu_periph/sys_time.h" #include "mcu_periph/sys_time.h"
#include "print.h" #include "subsystems/datalink/uart_print.h"
#include "subsystems/datalink/xbee.h" #include "subsystems/datalink/xbee.h"
#ifdef SIM_UART #ifdef SIM_UART