Page 2 of 2

Re: Conversion from Chibios2.6.6 to Chibios16.1

Posted: Sun Jul 09, 2017 8:41 pm
by Giovanni
Hi,

The driver checks for invalid values or the developer would not have any way to be notified about SW errors. You may do the rounding before calling the GPT function, this way the check would not be triggered.

Giovanni

Re: Conversion from Chibios2.6.6 to Chibios16.1

Posted: Fri Jul 14, 2017 9:07 pm
by Rick Burnett
I definitely agree that what you have makes sense, because if not, a developer wouldn't know they were getting an inaccurate value because of rounding. In this case, I didn't want to pay the penalty of multiple computation calls so I just let it round it and disabled that particular check.