FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/cmh_mmq.c @ 201:f3f58412df01
src/condat3/com/include: pwr.h and rtc.h replaced with TCS211 versions
as part of the TCS2/TCS3 hybrid effort
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 05:49:28 +0000 |
parents | 53929b40109c |
children |
comparison
equal
deleted
inserted
replaced
200:876b6c569e36 | 201:f3f58412df01 |
---|---|
15 | Texas Instruments Berlin, AG. | 15 | Texas Instruments Berlin, AG. |
16 +----------------------------------------------------------------------------- | 16 +----------------------------------------------------------------------------- |
17 | Purpose : This module provides the query functions related to the | 17 | Purpose : This module provides the query functions related to the |
18 | protocol stack adapter for mobility management. | 18 | protocol stack adapter for mobility management. |
19 +----------------------------------------------------------------------------- | 19 +----------------------------------------------------------------------------- |
20 Aug 02, 2006 REF:OMAPS00083404 Prabakar R (a0393213) | |
21 Description: Removal of clone code: entity GDI | |
22 Solution: Two similar functions(rtc_get_time_date() and rtc_get_alarm()) are made into one function rtc_get_time_date(). | |
23 As a result, interface for rtc_get_time_date() has been changed. Change has been done here to be | |
24 consistent with the new interface. | |
25 */ | 20 */ |
26 | 21 |
27 #ifndef CMH_MMQ_C | 22 #ifndef CMH_MMQ_C |
28 #define CMH_MMQ_C | 23 #define CMH_MMQ_C |
29 #endif | 24 #endif |
865 return( AT_FAIL ); | 860 return( AT_FAIL ); |
866 } | 861 } |
867 | 862 |
868 TRACE_EVENT("qAT_PlusCCLK(): get time and date " ); | 863 TRACE_EVENT("qAT_PlusCCLK(): get time and date " ); |
869 #ifndef _SIMULATION_ | 864 #ifndef _SIMULATION_ |
870 /* | 865 ret = rtc_get_time_date((T_RTC_DATE *) date_s, (T_RTC_TIME *) time_s); |
871 Aug 02, 2006 REF:OMAPS00083404 Prabakar R (a0393213) | |
872 Description: Removal of clone code: entity GDI | |
873 Solution: Two similar functions(rtc_get_time_date() and rtc_get_alarm()) are made into one function rtc_get_time_date(). | |
874 As a result, interface for rtc_get_time_date() has been changed. Change has been done here to be | |
875 consistent with the new interface. | |
876 */ | |
877 ret = rtc_get_time_date((T_RTC_DATE *) date_s, (T_RTC_TIME *) time_s, RTC_TIME_TYPE_CURRENT); | |
878 switch (ret) | 866 switch (ret) |
879 { | 867 { |
880 case 0: /* RVF_OK */ | 868 case 0: /* RVF_OK */ |
881 #ifdef FF_TIMEZONE | 869 #ifdef FF_TIMEZONE |
882 *timeZone = RTC_GetCurrentTZ(); /* Get current timezone now time and date are obtained.*/ | 870 *timeZone = RTC_GetCurrentTZ(); /* Get current timezone now time and date are obtained.*/ |