diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-08-14 15:23:19 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-08-14 15:23:32 -0500 |
commit | 7fc4395298ae66c6a735e25f93eb86e26e08f3a2 (patch) | |
tree | 7e210e4073b8867740ccb951f2c5b7f36acbaebc /watch-library/shared/watch/watch.h | |
parent | e790a025787e0e1aa59b98b95e194cf4318d1578 (diff) | |
download | Sensor-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/shared/watch/watch.h')
-rw-r--r-- | watch-library/shared/watch/watch.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |