aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/NRF51/NRF51822/hal_rng_lld.c
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-04-04 19:36:24 -0300
committerFabio Utzig <utzig@utzig.org>2016-04-04 19:36:24 -0300
commit4c5a09e72722351d0139a64f3c9f476e38f95554 (patch)
tree5473ff62ef035c5683ad7a72643be34454b3c3e7 /os/hal/ports/NRF51/NRF51822/hal_rng_lld.c
parentf679a82be7d4292c3ac5d3db86df429dbf2ddbeb (diff)
downloadChibiOS-Contrib-4c5a09e72722351d0139a64f3c9f476e38f95554.tar.gz
ChibiOS-Contrib-4c5a09e72722351d0139a64f3c9f476e38f95554.tar.bz2
ChibiOS-Contrib-4c5a09e72722351d0139a64f3c9f476e38f95554.zip
Fix headers guards + style fixes
Diffstat (limited to 'os/hal/ports/NRF51/NRF51822/hal_rng_lld.c')
-rw-r--r--os/hal/ports/NRF51/NRF51822/hal_rng_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/NRF51/NRF51822/hal_rng_lld.c b/os/hal/ports/NRF51/NRF51822/hal_rng_lld.c
index 74bba64..5e501ed 100644
--- a/os/hal/ports/NRF51/NRF51822/hal_rng_lld.c
+++ b/os/hal/ports/NRF51/NRF51822/hal_rng_lld.c
@@ -34,7 +34,7 @@
* @brief RNG default configuration.
*/
static const RNGConfig default_config = {
- .digital_error_correction = 1,
+ .digital_error_correction = 1,
};
/*===========================================================================*/
@@ -119,7 +119,7 @@ void rng_lld_stop(RNGDriver *rngp) {
* @notapi
*/
msg_t rng_lld_write(RNGDriver *rngp, uint8_t *buf, size_t n,
- systime_t timeout) {
+ systime_t timeout) {
size_t i;
for (i = 0 ; i < n ; i++) {