Fixed bug #854.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10298 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
81dd0533cc
commit
efd34d53a1
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rsync -avP -e ssh --delete --exclude=.* ./html/ gdisirio,chibios@web.sourceforge.net:/home/groups/c/ch/chibios/htdocs/docs3/hal
|
rsync -avP -e ssh --delete --exclude=.* ./html/ gdisirio,chibios@web.sourceforge.net:/home/groups/c/ch/chibios/htdocs/docs3/hal
|
||||||
|
|
|
@ -345,9 +345,10 @@ void rtc_lld_set_time(RTCDriver *rtcp, const RTCDateTime *timespec) {
|
||||||
|
|
||||||
/* Writing the registers.*/
|
/* Writing the registers.*/
|
||||||
rtc_enter_init();
|
rtc_enter_init();
|
||||||
rtcp->rtc->TR = tr;
|
rtcp->rtc->TR = tr;
|
||||||
rtcp->rtc->DR = dr;
|
rtcp->rtc->DR = dr;
|
||||||
rtcp->rtc->CR |= timespec->dstflag << RTC_CR_BKP_OFFSET;
|
rtcp->rtc->CR = (rtcp->rtc->CR & ~(1U << RTC_CR_BKP_OFFSET)) |
|
||||||
|
(timespec->dstflag << RTC_CR_BKP_OFFSET);
|
||||||
rtc_exit_init();
|
rtc_exit_init();
|
||||||
|
|
||||||
/* Leaving a reentrant critical zone.*/
|
/* Leaving a reentrant critical zone.*/
|
||||||
|
|
|
@ -89,6 +89,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** Next ***
|
*** Next ***
|
||||||
|
- HAL: Fixed invalid handling of DST flag in STM32 RTCv2 (bug #854)(backported
|
||||||
|
to 17.6.1 and 16.1.9).
|
||||||
- HAL: Fixed extra right parenthesis in STM32F4 registry (bug #853)(backported
|
- HAL: Fixed extra right parenthesis in STM32F4 registry (bug #853)(backported
|
||||||
to 17.6.1).
|
to 17.6.1).
|
||||||
- EX: Fixed documentation-related issues (bug #852)(backported to 17.6.1).
|
- EX: Fixed documentation-related issues (bug #852)(backported to 17.6.1).
|
||||||
|
|
Loading…
Reference in New Issue