From 8d308632a54366b204e0b026284c7d15975f419c Mon Sep 17 00:00:00 2001 From: Pharap <2933055+Pharap@users.noreply.github.com> Date: Wed, 24 Jan 2018 22:21:13 +0000 Subject: [PATCH] Add Arduino Due support (#16) Automatically disables random number functionality for Arduino Due. --- 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 4ad3e4a..f429c6d 100644 --- a/src/FixedPoints/Details.h +++ b/src/FixedPoints/Details.h @@ -31,7 +31,7 @@ #define FIXED_POINTS_DETAILS FixedPointsDetails #endif -#if defined(ESP8266) +#if defined(ESP8266) || defined(ARDUINO_SAM_DUE) #define FIXED_POINTS_NO_RANDOM #endif