From 8ff74b175efe7911dbc42d140abee9f130e67948 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 12 Oct 2011 21:05:44 +0000 Subject: [PATCH] Add commentary on test methods? --- src/stlink-usb.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.30.2