From b9fefc6a76bb7ade3fa82ac0e358445c138a6a28 Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Tue, 15 May 2018 19:42:20 +1000 Subject: [PATCH] Change error in RNG.cpp to a warning --- libraries/Crypto/RNG.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/Crypto/RNG.cpp b/libraries/Crypto/RNG.cpp index 647f92da..11db3636 100644 --- a/libraries/Crypto/RNG.cpp +++ b/libraries/Crypto/RNG.cpp @@ -52,15 +52,15 @@ #endif #include -// Throw an error if there is no built-in hardware random number source. +// Throw a warning if there is no built-in hardware random number source. // If this happens, then you need to do one of two things: // 1. Edit RNG.cpp to add your platform's hardware TRNG. // 2. Provide a proper noise source like TransistorNoiseSource -// in your sketch and then comment out the #error line below. +// in your sketch and then comment out the #warning line below. #if !defined(RNG_DUE_TRNG) && \ !defined(RNG_WATCHDOG) && \ !defined(RNG_WORD_TRNG) -#error "no hardware random number source detected for this platform" +#warning "no hardware random number source detected for this platform" #endif /**