Get rid of annoying PI warning

This commit is contained in:
Geoffrey Merck
2020-05-10 07:00:58 +02:00
parent 03f18451f7
commit 807f01ba72
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -28,6 +28,7 @@
#include "STM32Utils.h"
#else
#include <Arduino.h>
#undef PI //Undefine PI to get rid of annoying warning as it is also defined in arm_math.h.
#endif
#if defined(__SAM3X8E__) || defined(STM32F105xC)