hybridgroup / gobot

Golang framework for robotics, drones, and the Internet of Things (IoT)
https://gobot.io
Other
8.89k stars 1.04k forks source link

jetson(PWM): fix set period #1019

Closed gen2thomas closed 11 months ago

gen2thomas commented 11 months ago

Solved issues and/or description of the change

SetPeriod() uses the value from the backing field and therefor not change the real value - changed to usage of the given parameter

in addition activate related tests

obsoletes the #990 , the honor go to @Jwen98

Manual test

none

Checklist