zdebanos opened a new pull request, #2452: URL: https://github.com/apache/nuttx-apps/pull/2452
Normally, the qencoder position is obtained using the QEIOC_POSITION ioctl call. Adding the -i argument uses the QEIOC_GETINDEX to obtain the qe_index_s struct containing the position alongisde other fields. ## Testing Tested locally on the SaMoCon board with commands ``` qe -i -p /dev/qe0 # successful QEIOC_GETINDEX on /dev/qe0 qe -i -p /dev/qe1 # successful QEIOC_GETINDEX on /dev/qe1 qe -i /dev/qe0 # only QEIOC_POSITION on /dev/qe0 qe -i /dev/qe1 # only QEOIC_POSITION on /dev/qe1 ``` -- 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]
