Skip to content
Snippets Groups Projects
Commit ea085187 authored by schneider's avatar schneider
Browse files

fix(sdk): ssec is 12 bits long

parent 604a5036
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ int RTC_DisableRTCE(mxc_rtc_regs_t *rtc); ...@@ -162,7 +162,7 @@ int RTC_DisableRTCE(mxc_rtc_regs_t *rtc);
*@return #E_SUCCESS If function is successful. *@return #E_SUCCESS If function is successful.
*@return #E_BUSY If RTC is busy. *@return #E_BUSY If RTC is busy.
*/ */
int RTC_Init(mxc_rtc_regs_t *rtc, uint32_t sec, uint8_t ssec, sys_cfg_rtc_t *sys_cfg); int RTC_Init(mxc_rtc_regs_t *rtc, uint32_t sec, uint16_t ssec, sys_cfg_rtc_t *sys_cfg);
/** /**
* @brief Allow generation of Square Wave on the SQW pin * @brief Allow generation of Square Wave on the SQW pin
......
...@@ -196,7 +196,7 @@ int RTC_DisableRTCE(mxc_rtc_regs_t *rtc) ...@@ -196,7 +196,7 @@ int RTC_DisableRTCE(mxc_rtc_regs_t *rtc)
// ***************************************************************************** // *****************************************************************************
int RTC_Init(mxc_rtc_regs_t *rtc, uint32_t sec, uint8_t ssec, sys_cfg_rtc_t *sys_cfg) int RTC_Init(mxc_rtc_regs_t *rtc, uint32_t sec, uint16_t ssec, sys_cfg_rtc_t *sys_cfg)
{ {
SYS_RTCClockEnable(sys_cfg); SYS_RTCClockEnable(sys_cfg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment