aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/NRF51/NRF51822/rng_lld.h
diff options
context:
space:
mode:
authorStephane D'Alu <sdalu@sdalu.com>2016-02-09 00:55:35 +0100
committerStephane D'Alu <sdalu@sdalu.com>2016-02-09 00:55:35 +0100
commitd27b4471063fa4ad1e4d1717ff0c88346b43ec21 (patch)
treec9a7aee1714d988a5fd3d3a5049a399ef0ce0e96 /os/hal/ports/NRF51/NRF51822/rng_lld.h
parentd9a3d8493cf1df85a7690737755e295de80e8578 (diff)
downloadChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.tar.gz
ChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.tar.bz2
ChibiOS-Contrib-d27b4471063fa4ad1e4d1717ff0c88346b43ec21.zip
cleanup
Diffstat (limited to 'os/hal/ports/NRF51/NRF51822/rng_lld.h')
-rw-r--r--os/hal/ports/NRF51/NRF51822/rng_lld.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/os/hal/ports/NRF51/NRF51822/rng_lld.h b/os/hal/ports/NRF51/NRF51822/rng_lld.h
index a586ad4..8d4db02 100644
--- a/os/hal/ports/NRF51/NRF51822/rng_lld.h
+++ b/os/hal/ports/NRF51/NRF51822/rng_lld.h
@@ -27,19 +27,6 @@
#if (HAL_USE_RNG == TRUE) || defined(__DOXYGEN__)
-/*
- * This error check must occur outsite of RNGSW_USE_RNG1 to check if
- * two LLD drivers are enabled at the same time
- */
-#if (NRF51_RNG_USE_RNG1 == TRUE) && (RNGSW_USE_RNG1 == TRUE)
-#error "Software RNG can't be enable with NRF51_RNG_USE_RNG1"
-#endif
-
-/**
- * Allow RNG Software override.
- */
-#if RNGSW_USE_RNG1 != TRUE
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -74,7 +61,7 @@
* @brief RNG1 interrupt priority level setting.
*/
#if !defined(NRF51_RNG_RNG1_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define NRF51_RNG_RNG1_IRQ_PRIORITY 8
+#define NRF51_RNG_RNG1_IRQ_PRIORITY 10
#endif
@@ -169,8 +156,6 @@ extern "C" {
}
#endif
-#endif /* RNGSW_USE_RNG1 */
-
#endif /* HAL_USE_RNG */
#endif /* _RNG_LLD_H_ */