Commit graph

9 commits

Author SHA1 Message Date
Jeff Epler
48a8ca2ae6 Fix unused-parameter diagnostics
.. mostly by hinting to the compiler that they are intended to be
unused.
2021-05-04 09:02:47 -05:00
Jeff Epler
cab439923a Remove declarations of unused variables
All these produced a diagnostic when -Wunused-variables was specified.
2016-07-02 08:47:37 -05:00
Jeff Epler
948d5954bc Always return a value from the these functions
These functions always produced diagnostics with -Wreturn-type enabled.
Add an explicit 'return 0;' to indicate success.
2016-07-02 08:44:50 -05:00
Michael Geszkiewicz
83b52e3b3c libanyio: use base address from module descriptor, not from regmap
base addresses of modules are going to be changeable

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-03-11 10:38:05 +01:00
Michael Geszkiewicz
3106d0df2b anyio: refactor: unification of functions arguments in hostmot2 access interface
factor out common board structure initialisations to function

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-03-09 01:01:03 +01:00
Michael Geszkiewicz
8ba2c3e7a6 encoder: scale tsc timer to get 1000 ticks between reads regardless of current --delay argument
This will allow precise velocity estimation.

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-18 16:30:35 +02:00
Michael Geszkiewicz
d41aa221af encoder: user can choose which encoder instance will be read
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-18 02:50:12 +02:00
Michael Geszkiewicz
332617e18c libanyio: add example program to read muxed encoder using library
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-18 01:54:37 +02:00
Michael Geszkiewicz
8982643f60 libanyio: add support for hostmot2 encoder module. Support counts, position and velocity estimation.
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-17 20:20:18 +02:00