SetLocalTime reconfigures some GPIO

I’ve just found another problem after calling SetLocalTime().

It seems that after the call, some GPIOs (SODIMM 194 and SODIMM 196) are reconfigured as ioInput.

You can verify with the attached application.

What is the reason for this weird behavior?

Dear @vix

This is caused by the RTCSync tool, which tries to write back the new local time to the external RTC device. In the default configuration, the RTC is connected through i2c on SODIMM 194 and 196.

To avoid this, disable Rtcsync by modifying the following registry value:

[HKEY_LOCAL_MACHINE\init]
"Launch48"="__rtcsync.exe"

Regards, Andy

Thanks a lot.