Fix (potential) compiler warnings about redefining PI

This commit is contained in:
Woody Hawthorne 2015-11-15 19:35:13 +11:00
parent 10c047d0c0
commit c5daa2f62f

View file

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