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
Conversion from Chibios2.6.6 to Chibios16.1
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 150
- Joined: Tue Jan 08, 2013 2:20 pm
Re: Conversion from Chibios2.6.6 to Chibios16.1
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.
Who is online
Users browsing this forum: No registered users and 50 guests