compile issue seems to have snuck thru (#1184)

This commit is contained in:
Graham Sanderson 2023-01-20 16:47:23 -06:00 committed by GitHub
parent aaf0828250
commit 8b8778c59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,13 +70,7 @@ typedef int sys_prot_t;
#endif #endif
#ifndef LWIP_PLATFORM_ASSERT #ifndef LWIP_PLATFORM_ASSERT
#ifdef __cplusplus #include "pico.h"
extern "C" {
#endif
void panic(const char *fmt, ...);
#ifdef __cplusplus
}
#endif
#define LWIP_PLATFORM_ASSERT(x) panic(x) #define LWIP_PLATFORM_ASSERT(x) panic(x)
#endif #endif