fix openlog module, downlink.h was moved to datalink subsystem and DOWNLINK macros need the device as parameter

This commit is contained in:
Felix Ruess
2012-03-05 18:03:20 +01:00
parent 55dda79727
commit 46e8e4e98a
+3 -3
View File
@@ -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, &timestamp);
timestamp=timestamp+500;
DOWNLINK_SEND_TIMESTAMP(DefaultChannel, DefaultDevice, &timestamp);
}