[refactor] Organize STRING
This commit is contained in:
+2
-7
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <types.h>
|
||||
#define ASM asm volatile
|
||||
|
||||
static SUINT32 strlen(const char* arr) { // 获取string长度
|
||||
SSINT32 i = 0;
|
||||
while (arr[i++] != '\0');
|
||||
return i - 1;
|
||||
}
|
||||
#include <string_utils.h>
|
||||
#define ASM asm volatile
|
||||
Reference in New Issue
Block a user