Move string functions/utils from HAL to std/string

This commit is contained in:
2025-11-11 19:54:09 +01:00
parent f5dae4984d
commit 344952fb5f
27 changed files with 200 additions and 228 deletions

View File

@ -2,6 +2,7 @@
#include <stddef.h>
#include "time.h"
#include "hal/hal.h"
#include "std/string.h"
#define CMOS_PORT 0x70
#define CMOS_RETURN 0x71
@ -48,7 +49,7 @@ void time_get(Time *time) {
continue;
}
time_fill(&t2);
if (hal_memcmp(&t1, &t2, sizeof(t1)) == 0) {
if (memcmp(&t1, &t2, sizeof(t1)) == 0) {
break;
}
}