eldarkg / emdr1986x-std-per-lib

Milandr MCU 1986x Standard Peripherals Library. Mirror:
https://code.launchpad.net/~eldar/emdr1986x-std-per-lib/+git/emdr1986x-std-per-lib
47 stars 28 forks source link

NVIC_GetPendingIRQ(...) must be with assert_param(...) #12

Closed vitkorob closed 7 years ago

vitkorob commented 8 years ago

I try to use the NVIC_GetPendingIRQ(SysTick_IRQn), but SysTick_IRQn is not correct argument for this function!

This function and other similar must check the input arguments.

I will make implementation and a pull request.

eldarkg commented 8 years ago

@vitkorob what status of your suggestion?

eldarkg commented 7 years ago

@vitkorob Can you to answer?

eldarkg commented 7 years ago

@vitkorob Is it actual yet?

vitkorob commented 7 years ago

Hello,

Sorry for delay. This issue isn't actual, because code of this function is a part of official code. The assert_param expression is a part of manufacturer peripheral driver code and expression is not applicable.