fix: screen switch now works well with the shell and its "history"

This commit is contained in:
2024-09-11 15:51:40 +02:00
parent bc99b99c82
commit 19141e6883
4 changed files with 23 additions and 4 deletions

View File

@ -0,0 +1,11 @@
#include <stddef.h>
#include <stdint.h>
void *memset(void *str, int c, size_t n)
{
uint8_t *c1 = (uint8_t *)str;
for (size_t i = 0; i < n; i++)
c1[i] = c;
return c1;
}