mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-24 05:45:59 +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 "messages.h"
|
||||
#include "downlink.h"
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
#ifndef DOWNLINK_DEVICE
|
||||
@@ -44,6 +44,6 @@ void init_openlog(void) {
|
||||
}
|
||||
|
||||
void periodic_2Hz_openlog(void) {
|
||||
timestamp=timestamp+500;
|
||||
DOWNLINK_SEND_TIMESTAMP(DefaultChannel, ×tamp);
|
||||
timestamp=timestamp+500;
|
||||
DOWNLINK_SEND_TIMESTAMP(DefaultChannel, DefaultDevice, ×tamp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user