diff options
| author | Damien George | 2014-04-20 00:45:59 +0100 |
|---|---|---|
| committer | Damien George | 2014-04-20 00:45:59 +0100 |
| commit | 13c19c57a02c7f157ed062821b7446edf691be06 (patch) | |
| tree | 8ec223c40172451208eee7fdd2e54fccf5de7b59 /stmhal/main.c | |
| parent | 0a6e9f562fb6d6e54780565b62ffd72df3a2e7ad (diff) | |
stmhal: Only init RNG if it's used.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 86cbe3601..bfcee76b6 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -458,8 +458,7 @@ soft_reset: #endif #if MICROPY_HW_ENABLE_RNG - // RNG - rng_init(); + rng_init0(); #endif #if MICROPY_HW_ENABLE_TIMER |
