incorrect type cast in TIME_I2US() Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
Thargon
Posts: 135
Joined: Wed Feb 04, 2015 5:03 pm
Has thanked: 15 times
Been thanked: 24 times

incorrect type cast in TIME_I2US()

Post by Thargon »

I just noticed that the outer most cast in the TIME_I2US() macro converts the type to time_msecs_t, whereas it should be time_usecs_t, obviously. Since both types are actually identical, this is more a typo than a bug.

Thomas
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: incorrect type cast in TIME_I2US()

Post by Giovanni »

Hi,

Fixed as bug #1221.

Giovanni
Post Reply