Composite: I don't think the original code should have forced minor=0.

This commit is contained in:
Gregory Nutt 2017-07-14 09:08:17 -06:00
parent 6443c29621
commit e485caced9
5 changed files with 5 additions and 5 deletions

View File

@ -96,7 +96,7 @@ static int board_cdcclassobject(int minor,
FAR struct usbdev_description_s *devdesc,
FAR struct usbdevclass_driver_s **classdev)
{
return cdcacm_classobject(0, devdesc, classdev);
return cdcacm_classobject(minor, devdesc, classdev);
}
/****************************************************************************

View File

@ -107,7 +107,7 @@ static int board_cdcclassobject(int minor,
FAR struct usbdev_description_s *devdesc,
FAR struct usbdevclass_driver_s **classdev)
{
return cdcacm_classobject(0, devdesc, classdev);
return cdcacm_classobject(minor, devdesc, classdev);
}
/****************************************************************************

View File

@ -75,7 +75,7 @@ static int board_cdcclassobject(int minor,
FAR struct usbdev_description_s *devdesc,
FAR struct usbdevclass_driver_s **classdev)
{
return cdcacm_classobject(0, devdesc, classdev);
return cdcacm_classobject(minor, devdesc, classdev);
}
/****************************************************************************

View File

@ -307,7 +307,7 @@ static int board_cdcclassobject(int minor,
FAR struct usbdev_description_s *devdesc,
FAR struct usbdevclass_driver_s **classdev)
{
return cdcacm_classobject(0, devdesc, classdev);
return cdcacm_classobject(minor, devdesc, classdev);
}
/****************************************************************************

View File

@ -105,7 +105,7 @@ static int board_cdcclassobject(int minor,
FAR struct usbdev_description_s *devdesc,
FAR struct usbdevclass_driver_s **classdev)
{
return cdcacm_classobject(0, devdesc, classdev);
return cdcacm_classobject(minor, devdesc, classdev);
}
/****************************************************************************