From 8d370ef95d05fd674275bbcca17abfd53ac313f6 Mon Sep 17 00:00:00 2001 From: Pharap <2933055+Pharap@users.noreply.github.com> Date: Thu, 30 Nov 2017 15:33:23 +0000 Subject: [PATCH] Add ESP8266 support (#11) Automatically disables random number functionality for ESP8266. --- src/FixedPoints/Details.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/FixedPoints/Details.h b/src/FixedPoints/Details.h index 5c183b4..b3ce6e6 100644 --- a/src/FixedPoints/Details.h +++ b/src/FixedPoints/Details.h @@ -31,6 +31,10 @@ #define FIXED_POINTS_DETAILS FixedPointsDetails #endif +#if defined(ESP8266) +#define FIXED_POINTS_NO_RANDOM +#endif + // Pay no attention to the man behind the curtains FIXED_POINTS_BEGIN_NAMESPACE @@ -233,4 +237,4 @@ namespace FIXED_POINTS_DETAILS // ~Mwrow~ // /////////////////////// } -FIXED_POINTS_END_NAMESPACE \ No newline at end of file +FIXED_POINTS_END_NAMESPACE