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:
Jon Trulson 2016-10-20 17:44:57 -06:00
parent 1a7fbe37b1
commit ec36a8f519
2 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,10 @@ extern "C" {
#include <math.h>
#endif
#ifndef M_PI
#define M_PI (3.14159265358979323846)
#endif
#ifdef __cplusplus
}
#endif

View File

@ -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