aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2017-01-04 10:17:04 +0300
committerbarthess <barthess@yandex.ru>2017-01-04 10:17:04 +0300
commit52f82fb9cc13779146016ca993c80f7b82ea65bd (patch)
tree4a2168376d87185caf4245e3b6547bde601a6a72 /os/hal/src
parent9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc (diff)
downloadChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.tar.gz
ChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.tar.bz2
ChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.zip
USB MSD. Cosmetical improvements.
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/hal_usb_msd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/src/hal_usb_msd.c b/os/hal/src/hal_usb_msd.c
index 068d698..6cc5386 100644
--- a/os/hal/src/hal_usb_msd.c
+++ b/os/hal/src/hal_usb_msd.c
@@ -214,6 +214,7 @@ static void send_csw(USBMassStorageDriver *msdp, uint8_t status,
*/
static THD_FUNCTION(usb_msd_worker, arg) {
USBMassStorageDriver *msdp = arg;
+ chRegSetThreadName("usb_msd_worker");
while(! chThdShouldTerminateX()) {
const msg_t status = usbReceive(msdp->usbp, USB_MSD_DATA_EP,