From 7fc4395298ae66c6a735e25f93eb86e26e08f3a2 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 14 Aug 2022 15:23:19 -0500 Subject: add watch_reset_to_bootloader function (resolves #81) --- watch-library/shared/watch/watch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'watch-library/shared/watch/watch.h') diff --git a/watch-library/shared/watch/watch.h b/watch-library/shared/watch/watch.h index b94d36fb..7526d03a 100644 --- a/watch-library/shared/watch/watch.h +++ b/watch-library/shared/watch/watch.h @@ -80,6 +80,10 @@ bool watch_is_buzzer_or_led_enabled(void); */ bool watch_is_usb_enabled(void); +/** @brief Resets in the UF2 bootloader mode + */ +void watch_reset_to_bootloader(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