mirror of https://github.com/g4klx/MMDVM.git
Get rid of annoying PI warning
This commit is contained in:
parent
03f18451f7
commit
807f01ba72
|
@ -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)
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#if !defined(RINGBUFFER_H)
|
||||
#define RINGBUFFER_H
|
||||
|
||||
|
||||
#if defined(STM32F4XX)
|
||||
#include "stm32f4xx.h"
|
||||
#elif defined(STM32F7XX)
|
||||
|
@ -30,6 +29,7 @@
|
|||
#include <cstddef>
|
||||
#else
|
||||
#include <Arduino.h>
|
||||
#undef PI
|
||||
#endif
|
||||
|
||||
#if defined(__SAM3X8E__) || defined(STM32F105xC)
|
||||
|
@ -56,7 +56,7 @@ public:
|
|||
bool put(TDATATYPE item) volatile;
|
||||
|
||||
bool get(TDATATYPE& item);
|
||||
|
||||
|
||||
TDATATYPE peek() const;
|
||||
|
||||
bool hasOverflowed();
|
||||
|
|
Loading…
Reference in New Issue