diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-09 09:41:52 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-09 09:41:52 +0000 |
commit | 98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f (patch) | |
tree | e2181fa6d214da5b59d1e6ff7372a1117e62f84c /os/hal/src/hal.c | |
parent | ab8cbd8f7c824a3311c1878157e8b6d7721e470d (diff) | |
download | ChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.tar.gz ChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.tar.bz2 ChibiOS-98aeb732ffd81f00bde3fb7dd2a4ff65690ebe7f.zip |
New TRNG driver model added to HAL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12253 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/src/hal.c')
-rw-r--r-- | os/hal/src/hal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/src/hal.c b/os/hal/src/hal.c index 42b926619..87788ff6a 100644 --- a/os/hal/src/hal.c +++ b/os/hal/src/hal.c @@ -113,6 +113,9 @@ void halInit(void) { #if (HAL_USE_SPI == TRUE) || defined(__DOXYGEN__)
spiInit();
#endif
+#if (HAL_USE_TRNG == TRUE) || defined(__DOXYGEN__)
+ trngInit();
+#endif
#if (HAL_USE_UART == TRUE) || defined(__DOXYGEN__)
uartInit();
#endif
|