matthieuvigne / STS_servos

Arduino library for Feetech's STS smart servo
MIT License
12 stars 6 forks source link

Fix compilation for Teensy #1

Closed nesnes closed 1 year ago

nesnes commented 1 year ago

Teensy compilator doesn't seem to like inline nested namespace declarationh so I had to rename STS::registers to STSRegisters.

Then Serial doesn't seem to be defined by default so I updated the default constructor to handle the situation.