only include watch_main_loop.h in simulator builds
This commit is contained in:
parent
be1f3d3631
commit
b399f4ca45
@ -1,7 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "watch.h"
|
#include "watch.h"
|
||||||
#include "watch_main_loop.h"
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// This section sets up types and storage for our application state.
|
// This section sets up types and storage for our application state.
|
||||||
|
@ -30,6 +30,10 @@
|
|||||||
#include "driver_init.h"
|
#include "driver_init.h"
|
||||||
#include "pins.h"
|
#include "pins.h"
|
||||||
|
|
||||||
|
#ifdef __EMSCRIPTEN__
|
||||||
|
#include "watch_main_loop.h"
|
||||||
|
#endif // __EMSCRIPTEN__
|
||||||
|
|
||||||
/** @mainpage Sensor Watch Documentation
|
/** @mainpage Sensor Watch Documentation
|
||||||
* @brief This documentation covers most of the functions you will use to interact with the Sensor Watch
|
* @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:
|
hardware. It is divided into the following sections:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user