diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2022-10-11 22:06:02 -0500 |
---|---|---|
committer | joeycastillo <joeycastillo@utexas.edu> | 2022-10-11 22:06:02 -0500 |
commit | b399f4ca459d0487139f642c7b526fb4144cac8b (patch) | |
tree | 20204b6b3babaaf6d3e5d70604f6ad21713e266e /watch-library/shared/watch/watch.h | |
parent | be1f3d3631d5403bb8391182258118098816d113 (diff) | |
download | Sensor-Watch-b399f4ca459d0487139f642c7b526fb4144cac8b.tar.gz Sensor-Watch-b399f4ca459d0487139f642c7b526fb4144cac8b.tar.bz2 Sensor-Watch-b399f4ca459d0487139f642c7b526fb4144cac8b.zip |
only include watch_main_loop.h in simulator builds
Diffstat (limited to 'watch-library/shared/watch/watch.h')
-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 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: |