Skip to content

Commit cc155f7

Browse files
usb: pmci: mctp: samples: Fix issues from CI checks
Add license header to usb_host_tester.py, fix typo in usbd_mctp.h and rogue space in usbd_mctp.h. Signed-off-by: Eric Ocasio <[email protected]>
1 parent 1ebc6ef commit cc155f7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

include/zephyr/usb/class/usbd_mctp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/**
99
* @file
10-
* @brief MCTP over USB Protocol Endpoint Deivce Class public header
10+
* @brief MCTP over USB Protocol Endpoint Device Class public header
1111
*
1212
* This API is currently considered experimental.
1313
*/

samples/modules/pmci/mctp/usb_endpoint/usb_host_tester.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#!/usr/bin/env python3
2+
3+
# Copyright 2025 NXP
4+
# SPDX-License-Identifier: Apache-2.0
5+
16
import usb.core
27
import usb.util
38

subsys/usb/device_next/class/usbd_mctp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ int usbd_mctp_send(const struct usbd_mctp_inst *const inst, const void *const da
360360
.desc = &usbd_mctp_desc_##n, \
361361
.fs_desc = usbd_mctp_fs_desc_##n, \
362362
.hs_desc = usbd_mctp_hs_desc_##n, \
363-
.inst_idx = n \
363+
.inst_idx = n \
364364
}; \
365365
\
366366
USBD_DEFINE_CLASS(mctp_##n, &usbd_mctp_api, &usbd_mctp_ctx_##n, NULL);

0 commit comments

Comments
 (0)