diff --git a/flight/pios/common/pios_deltatime.c b/flight/pios/common/pios_deltatime.c index 5a2b56f02..ec5ee8eb9 100644 --- a/flight/pios/common/pios_deltatime.c +++ b/flight/pios/common/pios_deltatime.c @@ -30,7 +30,6 @@ #include -#ifdef PIOS_INCLUDE_DELTATIME void PIOS_DELTATIME_Init(PiOSDeltatimeConfig *config, float average, float min, float max, float alpha) { @@ -59,9 +58,6 @@ float PIOS_DELTATIME_GetAverageSeconds(PiOSDeltatimeConfig *config) } -#endif // PIOS_INCLUDE_DELTATIME - - /** * @} * @} diff --git a/flight/pios/pios.h b/flight/pios/pios.h index 95ee81d47..c1371d866 100644 --- a/flight/pios/pios.h +++ b/flight/pios/pios.h @@ -102,9 +102,6 @@ /* PIOS system functions */ #ifdef PIOS_INCLUDE_DELAY #include -#endif - -#ifdef PIOS_INCLUDE_DELTATIME #include #endif diff --git a/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h b/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h index e0498e3e1..ea94abb02 100644 --- a/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h +++ b/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h @@ -49,7 +49,6 @@ /* PIOS system functions */ #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_TASK_MONITOR diff --git a/flight/targets/boards/coptercontrol/firmware/inc/pios_config_posix.h b/flight/targets/boards/coptercontrol/firmware/inc/pios_config_posix.h index 4dc76d13d..eda0a2511 100644 --- a/flight/targets/boards/coptercontrol/firmware/inc/pios_config_posix.h +++ b/flight/targets/boards/coptercontrol/firmware/inc/pios_config_posix.h @@ -32,7 +32,6 @@ /* Enable/Disable PiOS Modules */ #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_LED #define PIOS_INCLUDE_FREERTOS #define PIOS_INCLUDE_TASK_MONITOR diff --git a/flight/targets/boards/revolution/firmware/inc/pios_config.h b/flight/targets/boards/revolution/firmware/inc/pios_config.h index c2d7673a8..fbaff9438 100644 --- a/flight/targets/boards/revolution/firmware/inc/pios_config.h +++ b/flight/targets/boards/revolution/firmware/inc/pios_config.h @@ -49,7 +49,6 @@ /* PIOS system functions */ #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_TASK_MONITOR diff --git a/flight/targets/boards/revolution/firmware/inc/pios_config_sim.h b/flight/targets/boards/revolution/firmware/inc/pios_config_sim.h index 9402af396..293516522 100644 --- a/flight/targets/boards/revolution/firmware/inc/pios_config_sim.h +++ b/flight/targets/boards/revolution/firmware/inc/pios_config_sim.h @@ -32,7 +32,6 @@ /* Enable/Disable PiOS Modules */ #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_LED #define PIOS_INCLUDE_SDCARD #define PIOS_INCLUDE_FREERTOS diff --git a/flight/targets/boards/revoproto/firmware/inc/pios_config.h b/flight/targets/boards/revoproto/firmware/inc/pios_config.h index afd32c159..c8e3d340c 100644 --- a/flight/targets/boards/revoproto/firmware/inc/pios_config.h +++ b/flight/targets/boards/revoproto/firmware/inc/pios_config.h @@ -49,7 +49,6 @@ /* PIOS system functions */ #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_TASK_MONITOR diff --git a/flight/targets/boards/revoproto/firmware/inc/pios_config_sim.h b/flight/targets/boards/revoproto/firmware/inc/pios_config_sim.h index 0d6dd38a3..56470b59b 100644 --- a/flight/targets/boards/revoproto/firmware/inc/pios_config_sim.h +++ b/flight/targets/boards/revoproto/firmware/inc/pios_config_sim.h @@ -1,5 +1,4 @@ /** - #define PIOS_INCLUDE_DELTATIME ****************************************************************************** * * @file pios_config.h @@ -33,7 +32,6 @@ /* Enable/Disable PiOS Modules */ #define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME #define PIOS_INCLUDE_LED #define PIOS_INCLUDE_SDCARD #define PIOS_INCLUDE_FREERTOS diff --git a/flight/targets/boards/simposix/firmware/inc/pios_config.h b/flight/targets/boards/simposix/firmware/inc/pios_config.h index 0738b6e44..f3b494e91 100644 --- a/flight/targets/boards/simposix/firmware/inc/pios_config.h +++ b/flight/targets/boards/simposix/firmware/inc/pios_config.h @@ -41,7 +41,6 @@ /* Enable/Disable PiOS Modules */ // #define PIOS_INCLUDE_ADC #define PIOS_INCLUDE_DELAY -#define PIOS_INCLUDE_DELTATIME // #define PIOS_INCLUDE_I2C #define PIOS_INCLUDE_IRQ #define PIOS_INCLUDE_LED