acassis commented on PR #17837: URL: https://github.com/apache/nuttx/pull/17837#issuecomment-3743900261
@Otpvondoiats I think you can keep it sorted at sensor_meta_s struct, but the number ID cannot be changed without breaking previous compatibility. Soon or later a new "special" type of sensor could show up and we will need to change the order again, and break the apps compatibility again. The sensor ID is like the ioctls defined at fs/ioctl.h, you cannot go there and change it, otherwise existing applications will point to the wrong ioctl. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
