diff --git a/platforms/nuttx/src/px4/common/nuttx_random.c b/platforms/nuttx/src/px4/common/nuttx_random.c index 26c2df3b41..1339aa9169 100644 --- a/platforms/nuttx/src/px4/common/nuttx_random.c +++ b/platforms/nuttx/src/px4/common/nuttx_random.c @@ -41,6 +41,4 @@ size_t px4_get_secure_random(uint8_t *out, arc4random_buf(out, outlen); return outlen; } -#else -#error CONFIG_CRYPTO_RANDOM_POOL has to be defined #endif