mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
Fix corePKCS11 demo logging message (#1205)
* Flush demo log before demo exit in corePKCS11 demo * Fix logging line break problem * Flush log when there is assertion
This commit is contained in:
parent
dd4789cdba
commit
e6b4e8288f
3 changed files with 96 additions and 8 deletions
|
|
@ -51,6 +51,11 @@
|
|||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
extern void vPlatformInitLogging( void );
|
||||
extern void vPlatformStopLoggingThreadAndFlush( void );
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvPKCS11DemoTask( void * pvParameters )
|
||||
{
|
||||
configPRINTF( ( "---------STARTING DEMO---------\r\n" ) );
|
||||
|
|
@ -68,6 +73,7 @@ static void prvPKCS11DemoTask( void * pvParameters )
|
|||
#endif
|
||||
configPRINTF( ( "---------Finished DEMO---------\r\n" ) );
|
||||
|
||||
vPlatformStopLoggingThreadAndFlush();
|
||||
exit( 0 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue