diff options
| author | Mengsk <[email protected]> | 2025-10-22 16:57:11 +0200 |
|---|---|---|
| committer | Mengsk <[email protected]> | 2025-10-22 20:21:57 +0200 |
| commit | 30132e8e6d39447c0633f96594ff4bdac06d6bc8 (patch) | |
| tree | 4561f4cd25b7c64b3e4cae552263cbf22340a53f /src/class/net | |
| parent | 27415e6114cb6e23ca085b21161eb79278f6b97b (diff) | |
Fix copilot issues
Signed-off-by: Mengsk <[email protected]>
Diffstat (limited to 'src/class/net')
| -rw-r--r-- | src/class/net/ncm_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/net/ncm_device.c b/src/class/net/ncm_device.c index 5e6dc5610..335f6ad09 100644 --- a/src/class/net/ncm_device.c +++ b/src/class/net/ncm_device.c @@ -205,7 +205,7 @@ static void notification_xmit(uint8_t rhport, bool force_next) { uint16_t notif_len = sizeof(notify_speed_change.header) + notify_speed_change.header.wLength; ncm_epbuf.epnotif = notify_speed_change; - usbd_edpt_xfer(rhport, ncm_interface.ep_notif, (uint8_t*, false) &ncm_epbuf.epnotif, notif_len); + usbd_edpt_xfer(rhport, ncm_interface.ep_notif, (uint8_t*) &ncm_epbuf.epnotif, notif_len, false); ncm_interface.notification_xmit_state = NOTIFICATION_CONNECTED; ncm_interface.notification_xmit_is_running = true; @@ -227,7 +227,7 @@ static void notification_xmit(uint8_t rhport, bool force_next) { uint16_t notif_len = sizeof(notify_connected.header) + notify_connected.header.wLength; ncm_epbuf.epnotif = notify_connected; - usbd_edpt_xfer(rhport, ncm_interface.ep_notif, (uint8_t *, false) &ncm_epbuf.epnotif, notif_len); + usbd_edpt_xfer(rhport, ncm_interface.ep_notif, (uint8_t *) &ncm_epbuf.epnotif, notif_len, false); ncm_interface.notification_xmit_state = NOTIFICATION_DONE; ncm_interface.notification_xmit_is_running = true; |
