equal
deleted
inserted
replaced
1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1822 else |
1822 else |
1823 { |
1823 { |
1824 if (aTimeSetMode & Kern::ETimeSet_SetHwRtc) |
1824 if (aTimeSetMode & Kern::ETimeSet_SetHwRtc) |
1825 { |
1825 { |
1826 r = A::SetSystemTimeInSecondsFrom2000(s); |
1826 r = A::SetSystemTimeInSecondsFrom2000(s); |
1827 if (r!=KErrNone) |
1827 // Set SW RTC even if HW RTC is not supported |
|
1828 if ((r!=KErrNone) && (r != KErrNotSupported)) |
1828 { |
1829 { |
1829 TTickQ::Signal(); |
1830 TTickQ::Signal(); |
1830 return r; |
1831 return r; |
1831 } |
1832 } |
1832 } |
1833 } |