Move string functions/utils from HAL to std/string
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user