You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardware: NUCLEOF401RE with S2868A2 expansion board
Software: STM CUBE IDE 1.15.0
The Bug
The function void S2LPPktStackSeqNumForReload(uint8_t cReloadValue) in the file: S2LP_PktStack.c is not declared in the corresponding header file: S2LP_PktStack.h
This causes implicit declaration warnings when attempting to use the function in other parts of the application.
Steps to Reproduce:
Build an example project (eg. S2868A2_P2P)
Add the function S2LPPktStackSeqNumForReload(uint8_t cReloadValue) in your application.
Compile the project.
Observe the warning: "implicit declaration of function 'S2LPPktStackSeqNumForReload'".
Proposed Fix:
Add the following function prototype in the header file:
/** * @brief Function to reload the sequence number. * @param cReloadValue: Reload value for the sequence number. * @retval None */voidS2LPPktStackSeqNumForReload(uint8_tcReloadValue);
The text was updated successfully, but these errors were encountered:
Set-up
The Bug
The function
void S2LPPktStackSeqNumForReload(uint8_t cReloadValue)
in the file: S2LP_PktStack.c is not declared in the corresponding header file: S2LP_PktStack.hThis causes implicit declaration warnings when attempting to use the function in other parts of the application.
Steps to Reproduce:
S2LPPktStackSeqNumForReload(uint8_t cReloadValue)
in your application.Proposed Fix:
Add the following function prototype in the header file:
The text was updated successfully, but these errors were encountered: