[refactor] Organize INT

This commit is contained in:
2026-06-05 18:29:11 +08:00
Unverified
parent 7c66610c13
commit da03b301fb
17 changed files with 79 additions and 59 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
#pragma once
#include <types.h>
#define ASM asm volatile
static unsigned int strlen(const char* arr) { // 获取string长度
int i = 0;
static SUINT32 strlen(const char* arr) { // 获取string长度
SSINT32 i = 0;
while (arr[i++] != '\0');
return i - 1;
}