mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 17:30:01 +03:00
M_PI define in upm_math.h and remove from rotary_fti.c
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
1a7fbe37b1
commit
ec36a8f519
@ -32,6 +32,10 @@ extern "C" {
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef M_PI
|
||||||
|
#define M_PI (3.14159265358979323846)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include "rotary.h"
|
#include "rotary.h"
|
||||||
#include "upm_fti.h"
|
#include "upm_fti.h"
|
||||||
|
#include "upm_math.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This file implements the Function Table Interface (FTI) for this sensor
|
* This file implements the Function Table Interface (FTI) for this sensor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user