lpc17_40: fixed compiler warnings.

This commit is contained in:
Fotis Panagiotopoulos 2021-07-06 12:54:28 +03:00 committed by Xiang Xiao
parent 97b8e90d79
commit 9976635390

View File

@ -175,30 +175,6 @@ static int rtc_setup(void)
return OK; return OK;
} }
/****************************************************************************
* Name: rtc_resume
*
* Description:
* Called when the RTC was already initialized on a previous power cycle.
* This just brings the RTC back into full operation.
*
* Input Parameters:
* None
*
* Returned Value:
* Zero (OK) on success; a negated errno on failure
*
****************************************************************************/
static int rtc_resume(void)
{
/* Clear the RTC alarm flags */
#ifdef CONFIG_RTC_ALARM
#endif
return OK;
}
/**************************************************************************** /****************************************************************************
* Name: rtc_interrupt * Name: rtc_interrupt
* *
@ -273,7 +249,7 @@ int up_rtc_initialize(void)
g_rtc_enabled = true; g_rtc_enabled = true;
rtc_dumpregs("After Initialization"); rtc_dumpregs("After Initialization");
return OK; return ret;
} }
/**************************************************************************** /****************************************************************************