diff options
Diffstat (limited to 'src/nonos/timer/v1/TimerP_nonos.c')
-rwxr-xr-x[-rw-r--r--] | src/nonos/timer/v1/TimerP_nonos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nonos/timer/v1/TimerP_nonos.c b/src/nonos/timer/v1/TimerP_nonos.c index 162666e..74b032c 100644..100755 --- a/src/nonos/timer/v1/TimerP_nonos.c +++ b/src/nonos/timer/v1/TimerP_nonos.c | |||
@@ -554,7 +554,7 @@ static TimerP_Status TimerP_dmTimerInstanceInit(TimerP_Struct *timer, uint32_t i | |||
554 | /* Create the Hwi Funtion for the tick funtion */ | 554 | /* Create the Hwi Funtion for the tick funtion */ |
555 | if (ret == TimerP_OK) | 555 | if (ret == TimerP_OK) |
556 | { | 556 | { |
557 | if (timer->tickFxn != NULL_PTR) | 557 | if (timer->tickFxn != (TimerP_Fxn) NULL_PTR) |
558 | { | 558 | { |
559 | intNum = timer->intNum; | 559 | intNum = timer->intNum; |
560 | /* Initialize with defaults */ | 560 | /* Initialize with defaults */ |
@@ -562,7 +562,7 @@ static TimerP_Status TimerP_dmTimerInstanceInit(TimerP_Struct *timer, uint32_t i | |||
562 | 562 | ||
563 | /* Populate the interrupt parameters */ | 563 | /* Populate the interrupt parameters */ |
564 | interruptRegParams.corepacConfig.arg=(uintptr_t) timer; | 564 | interruptRegParams.corepacConfig.arg=(uintptr_t) timer; |
565 | interruptRegParams.corepacConfig.name=NULL_PTR; | 565 | interruptRegParams.corepacConfig.name=(char *) NULL_PTR; |
566 | interruptRegParams.corepacConfig.isrRoutine=TimerP_dmTimerStub; | 566 | interruptRegParams.corepacConfig.isrRoutine=TimerP_dmTimerStub; |
567 | 567 | ||
568 | #if defined (__ARM_ARCH_7A__) || defined (__aarch64__) || defined (__TI_ARM_V7R4__) | 568 | #if defined (__ARM_ARCH_7A__) || defined (__aarch64__) || defined (__TI_ARM_V7R4__) |
@@ -624,7 +624,7 @@ void TimerP_Params_init(TimerP_Params *params) | |||
624 | params->extfreqLo = TimerP_USE_DEFAULT; | 624 | params->extfreqLo = TimerP_USE_DEFAULT; |
625 | params->intfreqHi = TimerP_USE_DEFAULT; | 625 | params->intfreqHi = TimerP_USE_DEFAULT; |
626 | params->intfreqLo = TimerP_USE_DEFAULT; | 626 | params->intfreqLo = TimerP_USE_DEFAULT; |
627 | params->name = NULL_PTR; | 627 | params->name = (char *) NULL_PTR; |
628 | params->period = 0; | 628 | params->period = 0; |
629 | params->runMode = (uint32_t)TimerP_RunMode_CONTINUOUS; | 629 | params->runMode = (uint32_t)TimerP_RunMode_CONTINUOUS; |
630 | params->startMode = (uint32_t)TimerP_StartMode_AUTO; | 630 | params->startMode = (uint32_t)TimerP_StartMode_AUTO; |