Skip to content

Commit 8d370ef

Browse files
authored
Add ESP8266 support (#11)
Automatically disables random number functionality for ESP8266.
1 parent 952a859 commit 8d370ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/FixedPoints/Details.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
#define FIXED_POINTS_DETAILS FixedPointsDetails
3232
#endif
3333

34+
#if defined(ESP8266)
35+
#define FIXED_POINTS_NO_RANDOM
36+
#endif
37+
3438
// Pay no attention to the man behind the curtains
3539

3640
FIXED_POINTS_BEGIN_NAMESPACE
@@ -233,4 +237,4 @@ namespace FIXED_POINTS_DETAILS
233237
// ~Mwrow~ //
234238
///////////////////////
235239
}
236-
FIXED_POINTS_END_NAMESPACE
240+
FIXED_POINTS_END_NAMESPACE

0 commit comments

Comments
 (0)