rebase first prototype

This commit is contained in:
feelfree69
2026-04-12 12:57:49 +02:00
parent d4d12fe3b4
commit b21bfac917
6 changed files with 156 additions and 4 deletions
+3 -1
View File
@@ -96,6 +96,8 @@
#include "../rtl837x_common.h"
extern __xdata uint8_t syslog_enabled;
/*---------------------------------------------------------------------------*/
/* Variable definitions. */
@@ -234,7 +236,7 @@ __xdata struct uip_stats uip_stat;
#endif /* UIP_STATISTICS == 1 */
#if UIP_LOGGING == 1
#define UIP_LOG(m) print_string(m)
#define UIP_LOG(m) uint8_t tmp = syslog_enabled; syslog_enabled = 0; print_string(m); syslog_enabled = tmp;
#else
#define UIP_LOG(m)
#endif /* UIP_LOGGING == 1 */