summaryrefslogtreecommitdiffstats
path: root/watch-library/simulator/watch/watch.c
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-05-09 12:55:58 -0400
committerJoey Castillo <joeycastillo@utexas.edu>2022-05-09 13:00:15 -0400
commit22b1ac0283a6aed800ea86960305284199747cdc (patch)
tree4756b7024263098ea9f43ef42df15566f296304e /watch-library/simulator/watch/watch.c
parent21ee056e26c3e158cf56f8577169f86b8d577a65 (diff)
downloadSensor-Watch-22b1ac0283a6aed800ea86960305284199747cdc.tar.gz
Sensor-Watch-22b1ac0283a6aed800ea86960305284199747cdc.tar.bz2
Sensor-Watch-22b1ac0283a6aed800ea86960305284199747cdc.zip
simulator: add USB serial input field
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 1c965aad..749651af 100644
--- a/watch-library/simulator/watch/watch.c
+++ b/watch-library/simulator/watch/watch.c
@@ -3,3 +3,7 @@
bool watch_is_buzzer_or_led_enabled(void) {
return false;
}
+
+bool watch_is_usb_enabled(void) {
+ return true;
+}