AnsweredAssumed Answered

A minor RTC defect at the example of LPCUSBlib_MassStorageHost in LPCOpen 2.2?

Question asked by Jeremy Hsiao on Feb 20, 2017
Latest reply on Mar 6, 2017 by soledad

In the example of LPCUSBlib_MassStorageHost in LPCOpen 2.2, it seems to me that there is a minor defect at setting RTC (time will be used in FAT32).

 

int rtc_initialize (void)
{
...
Chip_RTC_SetFullAlarmTime(LPC_RTC, &rtcTime);

...

}

 

It should be

 

int rtc_initialize (void)
{
...
Chip_RTC_SetFullTime(LPC_RTC, &rtcTime);

...

}

Outcomes