devclass_get_maxunit() returns n+1 with n starting at 0.
So if we have channel 0..3 devclass_get_maxunit is 4.
It's never been a problem as devclass_get_device() has
catched a possibly bad input.
Discussed with: scottl
devclass_get_maxunit() returns n+1 with n starting at 0. rS178339Unpublished Tags None Referenced Files None Subscribers None
Description
Details
Event Timeline |