From 22b1ac0283a6aed800ea86960305284199747cdc Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 9 May 2022 12:55:58 -0400 Subject: simulator: add USB serial input field --- watch-library/shared/watch/watch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'watch-library/shared') diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h index b307feca..b94d36fb 100644 --- a/watch-library/shared/watch/watch.h +++ b/watch-library/shared/watch/watch.h @@ -76,6 +76,10 @@ */ bool watch_is_buzzer_or_led_enabled(void); +/** @brief Returns true if USB is enabled. + */ +bool watch_is_usb_enabled(void); + /** @brief Reads up to len bytes from the USB serial. * @param file ignored, you can pass in 0 * @param ptr pointer to a buffer of at least len bytes -- cgit v1.2.3