Fix warnings and update ReadMe (#1067)

Fix warnings and update ReadMe

Also, make the demo output comprehensible.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2023-08-10 10:41:12 +05:30 committed by GitHub
parent eefb87aa0d
commit 7b15146706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 255 additions and 283 deletions

View file

@ -247,6 +247,7 @@ void vStartNTPTask( uint16_t usTaskStackSize,
xStatus = EStatusAsking;
( void ) pvSearchID;
( void ) pcName;
if( pxAddress == NULL )
{
@ -431,6 +432,7 @@ static void prvReadTime( struct SNtpPacket * pxPacket )
#if ( USE_PLUS_FAT != 0 )
FreeRTOS_gmtime_r( &uxCurrentSeconds, &xTimeStruct );
#else
extern struct tm * gmtime_r( const time_t * pxTime, struct tm * tmStruct );
gmtime_r( &uxCurrentSeconds, &xTimeStruct );
#endif /* ( USE_PLUS_FAT != 0 ) */