summaryrefslogtreecommitdiff
path: root/stmhal/rng.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-20 00:45:59 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-20 00:45:59 +0100
commit13c19c57a02c7f157ed062821b7446edf691be06 (patch)
tree8ec223c40172451208eee7fdd2e54fccf5de7b59 /stmhal/rng.h
parent0a6e9f562fb6d6e54780565b62ffd72df3a2e7ad (diff)
stmhal: Only init RNG if it's used.
Diffstat (limited to 'stmhal/rng.h')
-rw-r--r--stmhal/rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/rng.h b/stmhal/rng.h
index 5442d453c..650d69026 100644
--- a/stmhal/rng.h
+++ b/stmhal/rng.h
@@ -1,4 +1,4 @@
-void rng_init(void);
+void rng_init0(void);
uint32_t rng_get(void);
MP_DECLARE_CONST_FUN_OBJ(pyb_rng_get_obj);