fixed a missed RTC_IRQ_SECOND to RTC_IRQ_PERIODIC