Compare commits

...

1 Commits

Author SHA1 Message Date
Joey Castillo
baf69d1770 only include watch_main_loop for simulator builds 2022-10-11 21:11:25 -05:00
2 changed files with 4 additions and 1 deletions

View File

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

View File

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