Skip to content

Commit 5e93322

Browse files
committed
Move comment along with previously moved code snippet
1 parent 9ffcaad commit 5e93322

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/USBHost/USBHost.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void USBHost::usb_process()
181181

182182
if (res == USB_TYPE_OK) {
183183

184-
184+
// Call the device connected callback if registered
185185
if (nullptr != mount_fnc) {
186186
mount_fnc();
187187
}
@@ -194,8 +194,6 @@ void USBHost::usb_process()
194194

195195
USB_INFO("New device connected: %p [hub: %d - port: %d]", &devices[i], usb_msg->hub, usb_msg->port);
196196

197-
// Call the device connected callback if registered
198-
199197

200198
#if MAX_HUB_NB
201199
if (buf[4] == HUB_CLASS) {

0 commit comments

Comments
 (0)