mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
fix openlog module, downlink.h was moved to datalink subsystem and DOWNLINK macros need the device as parameter
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "openlog.h"
|
#include "openlog.h"
|
||||||
#include "messages.h"
|
#include "messages.h"
|
||||||
#include "downlink.h"
|
#include "subsystems/datalink/downlink.h"
|
||||||
#include "mcu_periph/uart.h"
|
#include "mcu_periph/uart.h"
|
||||||
|
|
||||||
#ifndef DOWNLINK_DEVICE
|
#ifndef DOWNLINK_DEVICE
|
||||||
@@ -44,6 +44,6 @@ void init_openlog(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void periodic_2Hz_openlog(void) {
|
void periodic_2Hz_openlog(void) {
|
||||||
timestamp=timestamp+500;
|
timestamp=timestamp+500;
|
||||||
DOWNLINK_SEND_TIMESTAMP(DefaultChannel, ×tamp);
|
DOWNLINK_SEND_TIMESTAMP(DefaultChannel, DefaultDevice, ×tamp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user