summaryrefslogtreecommitdiffstats
path: root/watch-library/shared
diff options
context:
space:
mode:
authorAlex Maestas <git@se30.xyz>2024-01-22 00:30:25 +0000
committerAlex Maestas <git@se30.xyz>2024-01-22 00:39:18 +0000
commit83a0e4e992388e6aaba9390cc1212649ae44d239 (patch)
tree6a1fb4ed17700ba859cb5f148cff92e3517c1b4a /watch-library/shared
parentde692e05e243c88cb1bd1c0fabcb0976f6a343d0 (diff)
downloadSensor-Watch-83a0e4e992388e6aaba9390cc1212649ae44d239.tar.gz
Sensor-Watch-83a0e4e992388e6aaba9390cc1212649ae44d239.tar.bz2
Sensor-Watch-83a0e4e992388e6aaba9390cc1212649ae44d239.zip
annotate TRNG erratum, address review comment
Diffstat (limited to 'watch-library/shared')
-rw-r--r--watch-library/shared/watch/watch.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h
index 8ede1f63..d23954ec 100644
--- a/watch-library/shared/watch/watch.h
+++ b/watch-library/shared/watch/watch.h
@@ -96,12 +96,8 @@ void watch_reset_to_bootloader(void);
*/
int read(int file, char *ptr, int len);
-#ifdef __EMSCRIPTEN__
-typedef void* Trng;
-#endif
-
-/** @brief Disables the TRNG, working around a silicon erratum.
+/** @brief Disables the TRNG twice in order to work around silicon erratum 1.16.1.
*/
-void watch_disable_TRNG(Trng* hw);
+void watch_disable_TRNG();
#endif /* WATCH_H_ */