Skip to content

Commit

Permalink
Update TCP socket wrappers to use debug logging level from config fil…
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws authored Sep 26, 2023
1 parent d1d7852 commit 1026977
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
/* Include header that defines log levels. */
#include "logging_levels.h"

/* FreeRTOS includes. */
#include "FreeRTOS.h"

/* FreeRTOS+TCP includes. */
#include "FreeRTOS_IP.h"
#include "FreeRTOS_Sockets.h"
#include "FreeRTOS_DNS.h"

/* Logging configuration for the Sockets. */
#ifndef LIBRARY_LOG_NAME
#define LIBRARY_LOG_NAME "SocketsWrapper"
Expand All @@ -48,14 +56,6 @@ extern void vLoggingPrintf( const char * pcFormatString,
/* Standard includes. */
#include <string.h>

/* FreeRTOS includes. */
#include "FreeRTOS.h"

/* FreeRTOS+TCP includes. */
#include "FreeRTOS_IP.h"
#include "FreeRTOS_Sockets.h"
#include "FreeRTOS_DNS.h"

/* TCP Sockets Wrapper include.*/
/* Let sockets wrapper know that Socket_t is defined already. */
#define SOCKET_T_TYPEDEFED
Expand Down

0 comments on commit 1026977

Please sign in to comment.