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:
parent
28be9cc8ce
commit
216ec095e4
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
* @}
|
* @}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user