diff options
Diffstat (limited to 'watch-library/shared/watch')
-rw-r--r-- | watch-library/shared/watch/watch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h index 4043fdf7..8ede1f63 100644 --- a/watch-library/shared/watch/watch.h +++ b/watch-library/shared/watch/watch.h @@ -96,6 +96,10 @@ 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. */ void watch_disable_TRNG(Trng* hw); |