todbot / blink1-tool

Command-line tools and C library for blink(1) USB RGB LED
https://blink1.thingm.com/
Other
84 stars 15 forks source link

Fixed times being divided by two when using --writepattern #46

Open ChrMa opened 3 years ago

ChrMa commented 3 years ago

In the earlier pull request I didn't notice, that the times I used in the example pattern were divided by two when read back with --readpattern. Turns out, there was an unexpected division by two in the --writepattern code.

Feel free to squash these changes into one commit if you want to streamline the history.

todbot commented 3 years ago

There was an explicit reason for the /2. Let me review what that was.