Fix (potential) compiler warnings about redefining PI

ugfx_release_2.6
Woody Hawthorne 2015-11-15 19:35:13 +11:00
parent 10c047d0c0
commit c5daa2f62f
1 changed files with 2 additions and 0 deletions

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