mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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>
|
||||
#endif
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI (3.14159265358979323846)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include "rotary.h"
|
||||
#include "upm_fti.h"
|
||||
#include "upm_math.h"
|
||||
|
||||
/**
|
||||
* This file implements the Function Table Interface (FTI) for this sensor
|
||||
|
Loading…
x
Reference in New Issue
Block a user