generated from Embedded_Projects/Landzo_K60Z_LwIP
16 lines
316 B
C
16 lines
316 B
C
#include <stdlib.h>
|
|
|
|
#include "fsl_debug_console.h"
|
|
|
|
void lwip_platform_assert(const char *msg, int line, const char *file) {
|
|
PRINTF("Assertion \"%s\" failed at line %d in %s\r\n", msg, line, file);
|
|
for(;;) {
|
|
/**/
|
|
}
|
|
}
|
|
|
|
int lwip_platform_rand(void) {
|
|
/* TODO: Use RNG. */
|
|
return rand();
|
|
}
|