From 0954fd423f0deca9a2037d87384ed67877106d8f Mon Sep 17 00:00:00 2001 From: Pharap <2933055+Pharap@users.noreply.github.com> Date: Thu, 25 Mar 2021 03:36:51 +0000 Subject: [PATCH] Disable random numbers for non-AVR targets (#74) --- src/FixedPoints/Details.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FixedPoints/Details.h b/src/FixedPoints/Details.h index 0e88263..af7a7b6 100644 --- a/src/FixedPoints/Details.h +++ b/src/FixedPoints/Details.h @@ -31,7 +31,7 @@ #define FIXED_POINTS_DETAILS FixedPointsDetails #endif -#if defined(ESP8266) || defined(ARDUINO_SAM_DUE) +#if !defined(__AVR__) #define FIXED_POINTS_NO_RANDOM #endif