10-04-2013, 09:17 AM
Hi,
[ MISRA 8.1 ] Functions shall have prototype and prototype shall be visible at both the definition and call
I am using cystal revs for C MISRA C 2004 compliance.
Its showing violation in following code. pl. suggest solution for this.
controller specific header file
-----------------------------------------
SFR( P0, 0x80U ); /* Port 0 Latch */
Main.c
----------
void main( void )
Global_Frame[ 0 ] = ( U8 )( Mid_No & 0x1fU ); /* bit of mid */
[ MISRA 8.1 ] Functions shall have prototype and prototype shall be visible at both the definition and call
I am using cystal revs for C MISRA C 2004 compliance.
Its showing violation in following code. pl. suggest solution for this.
controller specific header file
-----------------------------------------
SFR( P0, 0x80U ); /* Port 0 Latch */
Main.c
----------
void main( void )
Global_Frame[ 0 ] = ( U8 )( Mid_No & 0x1fU ); /* bit of mid */
<t></t>