/** @file\r
Timer Architecture Protocol driver of the ARM flavor\r
\r
- Copyright (c) 2011-2013 ARM Ltd. All rights reserved.<BR>\r
+ Copyright (c) 2011-2021, Arm Limited. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
// Check if the timer interrupt is active\r
if ((ArmGenericTimerGetTimerCtrlReg () ) & ARM_ARCH_TIMER_ISTATUS) {\r
\r
- if (mTimerNotifyFunction) {\r
+ if (mTimerNotifyFunction != 0) {\r
mTimerNotifyFunction (mTimerPeriod * mElapsedPeriod);\r
}\r
\r