mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
Update TCP socket wrappers to use debug logging level from config files (#1091)
This commit is contained in:
parent
d1d78528a2
commit
10269777fa
1 changed files with 8 additions and 8 deletions
|
|
@ -32,6 +32,14 @@
|
||||||
/* Include header that defines log levels. */
|
/* Include header that defines log levels. */
|
||||||
#include "logging_levels.h"
|
#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. */
|
/* Logging configuration for the Sockets. */
|
||||||
#ifndef LIBRARY_LOG_NAME
|
#ifndef LIBRARY_LOG_NAME
|
||||||
#define LIBRARY_LOG_NAME "SocketsWrapper"
|
#define LIBRARY_LOG_NAME "SocketsWrapper"
|
||||||
|
|
@ -48,14 +56,6 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||||
/* Standard includes. */
|
/* Standard includes. */
|
||||||
#include <string.h>
|
#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.*/
|
/* TCP Sockets Wrapper include.*/
|
||||||
/* Let sockets wrapper know that Socket_t is defined already. */
|
/* Let sockets wrapper know that Socket_t is defined already. */
|
||||||
#define SOCKET_T_TYPEDEFED
|
#define SOCKET_T_TYPEDEFED
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue