Add ESP8266 support (#11)

Automatically disables random number functionality for ESP8266.
pull/12/head
Pharap 7 years ago committed by GitHub
parent 952a8594d5
commit 8d370ef95d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/FixedPoints/Details.h

@ -31,6 +31,10 @@
#define FIXED_POINTS_DETAILS FixedPointsDetails #define FIXED_POINTS_DETAILS FixedPointsDetails
#endif #endif
#if defined(ESP8266)
#define FIXED_POINTS_NO_RANDOM
#endif
// Pay no attention to the man behind the curtains // Pay no attention to the man behind the curtains
FIXED_POINTS_BEGIN_NAMESPACE FIXED_POINTS_BEGIN_NAMESPACE
@ -233,4 +237,4 @@ namespace FIXED_POINTS_DETAILS
// ~Mwrow~ // // ~Mwrow~ //
/////////////////////// ///////////////////////
} }
FIXED_POINTS_END_NAMESPACE FIXED_POINTS_END_NAMESPACE

Loading…
Cancel
Save