Skip to content

Commit

Permalink
[telemetry] rename device.h link_device.h to match structure name
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Nov 10, 2014
1 parent 34b6ca3 commit c5eb723
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
Expand Up @@ -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>

Expand All @@ -46,5 +46,5 @@ struct link_device {
void *periph; ///< pointer to parent implementation
};

#endif // DEVICES_H
#endif // LINK_DEVICE_H

2 changes: 1 addition & 1 deletion sw/airborne/mcu_periph/uart.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/mcu_periph/udp.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/mcu_periph/usb_serial.h
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/chibios-libopencm3/chibios_sdlog.h
Expand Up @@ -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 :
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/ivy_transport.h
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/superbitrf.h
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/telemetry_common.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/transport.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sw/airborne/subsystems/datalink/w5100.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sw/tools/generators/gen_messages.ml
Expand Up @@ -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 *)
Expand Down

0 comments on commit c5eb723

Please sign in to comment.