mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-10 13:45:07 -05:00
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:
parent
eefb87aa0d
commit
7b15146706
11 changed files with 255 additions and 283 deletions
|
|
@ -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 ) */
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,9 @@
|
|||
#include <ws2tcpip.h>
|
||||
|
||||
#ifndef __MINGW32__
|
||||
#define IN_MULTICAST( a ) IN_CLASSD( a )
|
||||
#ifndef IN_MULTICAST
|
||||
#define IN_MULTICAST( a ) IN_CLASSD( a )
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define IN_EXPERIMENTAL( a ) ( ( ( ( u_int32_t ) ( a ) ) & 0xf0000000 ) == 0xf0000000 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue