add int code to KePanic

This commit is contained in:
maksw committed 2026-05-28 21:00:04 +02:00
1 parent 6bff37746d
commit b17c9ac854
10 files changed
+112 -99

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
typedef uintptr_t sys_prot_t;
#define LWIP_PLATFORM_DIAG(x) do { DbgPrint x; } while (0)
#define LWIP_PLATFORM_ASSERT(x) do { KePanic("lwIP assert: %s\n", (x)); } while (0)
#define LWIP_PLATFORM_ASSERT(x) do { KePanic(KE_PANIC_CODE_DRIVER, "lwIP assert: %s\n", (x)); } while (0)
unsigned int lwip_port_rand(void);
#define LWIP_RAND() ((uint32_t)lwip_port_rand())