mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
[telemetry] rename device.h link_device.h to match structure name
This commit is contained in:
@@ -19,12 +19,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file mcu_periph/device.h
|
||||
/** \file mcu_periph/link_device.h
|
||||
* generic device header
|
||||
*/
|
||||
|
||||
#ifndef DEVICE_H
|
||||
#define DEVICE_H
|
||||
#ifndef LINK_DEVICE_H
|
||||
#define LINK_DEVICE_H
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -46,5 +46,5 @@ struct link_device {
|
||||
void *periph; ///< pointer to parent implementation
|
||||
};
|
||||
|
||||
#endif // DEVICES_H
|
||||
#endif // LINK_DEVICE_H
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define MCU_PERIPH_UART_H
|
||||
|
||||
#include "mcu_periph/uart_arch.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
#include "std.h"
|
||||
|
||||
#define UART_RX_BUFFER_SIZE 128
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "std.h"
|
||||
#include "mcu_periph/udp_arch.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
|
||||
#define UDP_RX_BUFFER_SIZE 256
|
||||
#define UDP_TX_BUFFER_SIZE 256
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "std.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
//#include "usb_serial_hw.h"
|
||||
|
||||
struct usb_serial_periph {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define CHIBIOS_SDLOG_H
|
||||
|
||||
#include "ff.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
|
||||
/*
|
||||
what to be done :
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#define IVY_TRANSPORT_H
|
||||
|
||||
#include "subsystems/datalink/transport.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
|
||||
// IVY transport
|
||||
struct ivy_transport {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "mcu_periph/gpio.h"
|
||||
#include "peripherals/cyrf6936.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
#include "subsystems/datalink/datalink.h"
|
||||
#include "subsystems/datalink/pprz_transport.h"
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "std.h"
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
#include "subsystems/datalink/transport.h"
|
||||
|
||||
/** Telemetry callback definition
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define TRANSPORT_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
#include "std.h"
|
||||
|
||||
#ifndef TRANSPORT_PAYLOAD_LEN
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#ifndef W5100_H
|
||||
#define W5100_H
|
||||
|
||||
#include "mcu_periph/device.h"
|
||||
#include "mcu_periph/link_device.h"
|
||||
#include "generated/airframe.h"
|
||||
|
||||
#define W5100_RX_BUFFER_SIZE 80
|
||||
|
||||
@@ -366,7 +366,7 @@ let () =
|
||||
Printf.fprintf h "#ifndef _VAR_MESSAGES_%s_H_\n" class_name;
|
||||
Printf.fprintf h "#define _VAR_MESSAGES_%s_H_\n" class_name;
|
||||
Printf.fprintf h "#include \"subsystems/datalink/transport.h\"\n";
|
||||
Printf.fprintf h "#include \"mcu_periph/device.h\"\n";
|
||||
Printf.fprintf h "#include \"mcu_periph/link_device.h\"\n";
|
||||
|
||||
(** Macros for airborne downlink (sending) *)
|
||||
if class_name = "telemetry" then begin (** FIXME *)
|
||||
|
||||
Reference in New Issue
Block a user