Wrong API call in RTCv2 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

Wrong API call in RTCv2

Post by josesimoes »

Hi,

In os\hal\ports\STM32\LLD\RTCv2\hal_rtc_lld.c lines 215-217 and 234-236 there are calls to chDbgCheck. If I'm not mistaken those should be osalDbgCheck.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Wrong API call in RTCv2

Post by Giovanni »

Hi,

You are correct of course, thanks for finding.

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

Re: Wrong API call in RTCv2

Post by Giovanni »

Hi,

Fixed as bug #1179. Was present also in RTCv3.

Giovanni
Post Reply