only include watch_main_loop.h in simulator builds

This commit is contained in:
joeycastillo 2022-10-11 22:06:02 -05:00
parent be1f3d3631
commit b399f4ca45
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,6 @@
#include <stdio.h>
#include <string.h>
#include "watch.h"
#include "watch_main_loop.h"
//////////////////////////////////////////////////////////////////////////////////////////
// This section sets up types and storage for our application state.

View File

@ -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: