improved includes
This commit is contained in:
parent
78ae109a08
commit
5169c09fd8
@ -1,13 +1,14 @@
|
|||||||
#include <framework/timemanager/Clock.h>
|
#include <framework/timemanager/Clock.h>
|
||||||
#include <framework/globalfunctions/timevalOperations.h>
|
#include <framework/globalfunctions/timevalOperations.h>
|
||||||
#include <stdlib.h>
|
#include <framework/osal/FreeRTOS/Timekeeper.h>
|
||||||
#include "Timekeeper.h"
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <FreeRTOS.h>
|
#include <freertos/FreeRTOS.h>
|
||||||
#include <task.h>
|
#include <freertos/task.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
//TODO sanitize input?
|
//TODO sanitize input?
|
||||||
//TODO much of this code can be reused for tick-only systems
|
//TODO much of this code can be reused for tick-only systems
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
/**
|
|
||||||
* @file Timekeeper.cpp
|
|
||||||
* @date
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <framework/osal/FreeRTOS/Timekeeper.h>
|
#include <framework/osal/FreeRTOS/Timekeeper.h>
|
||||||
|
|
||||||
extern "C" {
|
#include "FreeRTOSConfig.h"
|
||||||
#include <task.h>
|
|
||||||
}
|
|
||||||
|
|
||||||
Timekeeper * Timekeeper::myinstance = nullptr;
|
Timekeeper * Timekeeper::myinstance = nullptr;
|
||||||
|
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
#include <framework/timemanager/Clock.h>
|
#include <framework/timemanager/Clock.h>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <FreeRTOS.h>
|
#include <freertos/FreeRTOS.h>
|
||||||
|
#include <freertos/task.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user