X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fusb_endpoint.h;h=63c49bd5ff80033578add0498615d863fa2844aa;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=1376f327f2d67c240635dc64a164e46d5e74b790;hpb=f3b84043afc7a7795d21a047466d25ce3693b728;p=bertos.git diff --git a/bertos/drv/usb_endpoint.h b/bertos/drv/usb_endpoint.h index 1376f327..63c49bd5 100644 --- a/bertos/drv/usb_endpoint.h +++ b/bertos/drv/usb_endpoint.h @@ -74,6 +74,6 @@ enum { * special endpoint 0. In conclusion, the number of endpoints must be always * greater than the number of interfaces. */ -STATIC_ASSERT(USB_EP_MAX > CONFIG_USB_INTERFACE_MAX); +STATIC_ASSERT(USB_EP_MAX >= CONFIG_USB_INTERFACE_MAX); #endif /* USB_ENDPOINT_H */