Composite: I don't think the original code should have forced minor=0.
This commit is contained in:
parent
6443c29621
commit
e485caced9
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue