Revert my last change in sntp.c - allow usage of custom error values in err_t

This commit is contained in:
Dirk Ziegelmeier 2016-08-09 08:20:28 +02:00
parent 6ba03d543f
commit 0005b7c2d0

View File

@ -94,7 +94,7 @@
#define SNTP_DEBUG_WARN_STATE (SNTP_DEBUG | LWIP_DBG_LEVEL_WARNING | LWIP_DBG_STATE) #define SNTP_DEBUG_WARN_STATE (SNTP_DEBUG | LWIP_DBG_LEVEL_WARNING | LWIP_DBG_STATE)
#define SNTP_DEBUG_SERIOUS (SNTP_DEBUG | LWIP_DBG_LEVEL_SERIOUS) #define SNTP_DEBUG_SERIOUS (SNTP_DEBUG | LWIP_DBG_LEVEL_SERIOUS)
#define SNTP_ERR_KOD ERR_CLSD #define SNTP_ERR_KOD 1
/* SNTP protocol defines */ /* SNTP protocol defines */
#define SNTP_MSG_LEN 48 #define SNTP_MSG_LEN 48