1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1211 removed unneeded define

This commit is contained in:
Corvus Corax 2014-02-06 19:34:34 +01:00
parent 28be9cc8ce
commit 216ec095e4
9 changed files with 0 additions and 15 deletions

View File

@ -30,7 +30,6 @@
#include <pios.h> #include <pios.h>
#ifdef PIOS_INCLUDE_DELTATIME
void PIOS_DELTATIME_Init(PiOSDeltatimeConfig *config, float average, float min, float max, float alpha) 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
/** /**
* @} * @}
* @} * @}

View File

@ -102,9 +102,6 @@
/* PIOS system functions */ /* PIOS system functions */
#ifdef PIOS_INCLUDE_DELAY #ifdef PIOS_INCLUDE_DELAY
#include <pios_delay.h> #include <pios_delay.h>
#endif
#ifdef PIOS_INCLUDE_DELTATIME
#include <pios_deltatime.h> #include <pios_deltatime.h>
#endif #endif

View File

@ -49,7 +49,6 @@
/* PIOS system functions */ /* PIOS system functions */
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_INITCALL
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_TASK_MONITOR #define PIOS_INCLUDE_TASK_MONITOR

View File

@ -32,7 +32,6 @@
/* Enable/Disable PiOS Modules */ /* Enable/Disable PiOS Modules */
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_LED #define PIOS_INCLUDE_LED
#define PIOS_INCLUDE_FREERTOS #define PIOS_INCLUDE_FREERTOS
#define PIOS_INCLUDE_TASK_MONITOR #define PIOS_INCLUDE_TASK_MONITOR

View File

@ -49,7 +49,6 @@
/* PIOS system functions */ /* PIOS system functions */
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_INITCALL
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_TASK_MONITOR #define PIOS_INCLUDE_TASK_MONITOR

View File

@ -32,7 +32,6 @@
/* Enable/Disable PiOS Modules */ /* Enable/Disable PiOS Modules */
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_LED #define PIOS_INCLUDE_LED
#define PIOS_INCLUDE_SDCARD #define PIOS_INCLUDE_SDCARD
#define PIOS_INCLUDE_FREERTOS #define PIOS_INCLUDE_FREERTOS

View File

@ -49,7 +49,6 @@
/* PIOS system functions */ /* PIOS system functions */
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_INITCALL #define PIOS_INCLUDE_INITCALL
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_TASK_MONITOR #define PIOS_INCLUDE_TASK_MONITOR

View File

@ -1,5 +1,4 @@
/** /**
#define PIOS_INCLUDE_DELTATIME
****************************************************************************** ******************************************************************************
* *
* @file pios_config.h * @file pios_config.h
@ -33,7 +32,6 @@
/* Enable/Disable PiOS Modules */ /* Enable/Disable PiOS Modules */
#define PIOS_INCLUDE_SYS #define PIOS_INCLUDE_SYS
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
#define PIOS_INCLUDE_LED #define PIOS_INCLUDE_LED
#define PIOS_INCLUDE_SDCARD #define PIOS_INCLUDE_SDCARD
#define PIOS_INCLUDE_FREERTOS #define PIOS_INCLUDE_FREERTOS

View File

@ -41,7 +41,6 @@
/* Enable/Disable PiOS Modules */ /* Enable/Disable PiOS Modules */
// #define PIOS_INCLUDE_ADC // #define PIOS_INCLUDE_ADC
#define PIOS_INCLUDE_DELAY #define PIOS_INCLUDE_DELAY
#define PIOS_INCLUDE_DELTATIME
// #define PIOS_INCLUDE_I2C // #define PIOS_INCLUDE_I2C
#define PIOS_INCLUDE_IRQ #define PIOS_INCLUDE_IRQ
#define PIOS_INCLUDE_LED #define PIOS_INCLUDE_LED