summaryrefslogtreecommitdiffstats
path: root/watch-library/shared
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2022-10-11 22:14:13 -0500
committerGitHub <noreply@github.com>2022-10-11 22:14:13 -0500
commit4d860f482e68f125788248ec63bd2b9a9120183d (patch)
tree6e629db544046a82f2fcdf233c7eb8abd870735b /watch-library/shared
parente36b3053792131d3ea6692206bc705243efa84a5 (diff)
parentf79741a85fa08dff34a41ae7c804d80dc800343c (diff)
downloadSensor-Watch-4d860f482e68f125788248ec63bd2b9a9120183d.tar.gz
Sensor-Watch-4d860f482e68f125788248ec63bd2b9a9120183d.tar.bz2
Sensor-Watch-4d860f482e68f125788248ec63bd2b9a9120183d.zip
Merge pull request #93 from wryun/make-starter-proj-work-in-simulator
Make starter project work in simulator
Diffstat (limited to 'watch-library/shared')
-rw-r--r--watch-library/shared/watch/watch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h
index 7526d03a..790f9a16 100644
--- a/watch-library/shared/watch/watch.h
+++ b/watch-library/shared/watch/watch.h
@@ -30,6 +30,10 @@
#include "driver_init.h"
#include "pins.h"
+#ifdef __EMSCRIPTEN__
+#include "watch_main_loop.h"
+#endif // __EMSCRIPTEN__
+
/** @mainpage Sensor Watch Documentation
* @brief This documentation covers most of the functions you will use to interact with the Sensor Watch
hardware. It is divided into the following sections: