Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to msgRecv, msgRespond API change #27

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libusb/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@

int usb_eventsWait(int port, msg_t *msg)
{
unsigned long rid;
msg_rid_t rid;

Check failure on line 54 in libusb/driver.c

View workflow job for this annotation

GitHub Actions / call-ci / build (armv7a7-imx6ull-evk)

unknown type name 'msg_rid_t'
int err;

do {
err = msgRecv(port, msg, &rid);

Check warning on line 58 in libusb/driver.c

View workflow job for this annotation

GitHub Actions / call-ci / build (armv7a7-imx6ull-evk)

passing argument 3 of 'msgRecv' from incompatible pointer type [-Wincompatible-pointer-types]
if (err < 0 && err != -EINTR)
return -1;
} while (err == -EINTR);
Expand Down
2 changes: 1 addition & 1 deletion usb/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static void usb_statusthr(void *arg)
static void usb_msgthr(void *arg)
{
unsigned port = (int)arg;
unsigned long rid;
msg_rid_t rid;
msg_t msg;
usb_msg_t *umsg;
int resp;
Expand Down
Loading