Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: WMXZ

Search: Search took 0.01 seconds.

  1. that's correct, sorry for reduced cut/paste

    that's correct, sorry for reduced cut/paste
  2. Had just to do it uint32_t t0=rtc_get();...

    Had just to do it


    uint32_t t0=rtc_get();
    uint32_t t1=(uint32_t)&__rtc_localtime;
    if((t1-t0)>100) rtc_set(t1);

    this piece of code updates the clock if the RTC clock is at least...
Results 1 to 2 of 2