Fix (potential) compiler warnings about redefining PI
This commit is contained in:
parent
10c047d0c0
commit
c5daa2f62f
1 changed files with 2 additions and 0 deletions
|
@ -75,7 +75,9 @@ typedef int32_t fixed;
|
|||
/**
|
||||
* @brief The famous number pi
|
||||
*/
|
||||
#ifndef PI
|
||||
#define PI 3.1415926535897932384626433832795028841971693993751
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief pi as a fixed point
|
||||
|
|
Loading…
Add table
Reference in a new issue