X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstlink-usb.c;h=f2ee2bd1d995a0077fa8edde6ce8fefbd1661cba;hb=8ff74b175efe7911dbc42d140abee9f130e67948;hp=895b368fa512c432d44802e972adeccbcd932f6a;hpb=1135f17d28c31fc73cb653148a1812581862f986;p=fw%2Fstlink diff --git a/src/stlink-usb.c b/src/stlink-usb.c index 895b368..f2ee2bd 100644 --- a/src/stlink-usb.c +++ b/src/stlink-usb.c @@ -289,6 +289,10 @@ void _stlink_usb_exit_dfu_mode(stlink_t* sl) { } } +/** + * TODO - not convinced this does anything... + * @param sl + */ void _stlink_usb_reset(stlink_t * sl) { struct stlink_libusb * const slu = sl->backend_data; unsigned char* const buf = sl->q_buf; @@ -322,6 +326,10 @@ void _stlink_usb_step(stlink_t* sl) { } } +/** + * This seems to do a good job of restarting things from the beginning? + * @param sl + */ void _stlink_usb_run(stlink_t* sl) { struct stlink_libusb * const slu = sl->backend_data; unsigned char* const buf = sl->q_buf;