From b399f4ca459d0487139f642c7b526fb4144cac8b Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Tue, 11 Oct 2022 22:06:02 -0500 Subject: only include watch_main_loop.h in simulator builds --- watch-library/shared/watch/watch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'watch-library/shared/watch/watch.h') 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: -- cgit v1.2.3