summaryrefslogtreecommitdiffstats
path: root/watch-library/simulator/watch/watch.c
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-08-14 15:23:19 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-08-14 15:23:32 -0500
commit7fc4395298ae66c6a735e25f93eb86e26e08f3a2 (patch)
tree7e210e4073b8867740ccb951f2c5b7f36acbaebc /watch-library/simulator/watch/watch.c
parente790a025787e0e1aa59b98b95e194cf4318d1578 (diff)
downloadSensor-Watch-7fc4395298ae66c6a735e25f93eb86e26e08f3a2.tar.gz
Sensor-Watch-7fc4395298ae66c6a735e25f93eb86e26e08f3a2.tar.bz2
Sensor-Watch-7fc4395298ae66c6a735e25f93eb86e26e08f3a2.zip
add watch_reset_to_bootloader function (resolves #81)
Diffstat (limited to 'watch-library/simulator/watch/watch.c')
-rw-r--r--watch-library/simulator/watch/watch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/simulator/watch/watch.c b/watch-library/simulator/watch/watch.c
index 749651af..4e89f3d3 100644
--- a/watch-library/simulator/watch/watch.c
+++ b/watch-library/simulator/watch/watch.c
@@ -7,3 +7,7 @@ bool watch_is_buzzer_or_led_enabled(void) {
bool watch_is_usb_enabled(void) {
return true;
}
+
+void watch_reset_to_bootloader(void) {
+ // No bootloader in the simulator; nothing to do here
+}