removing MPU Hal - details in desc

since it impossible for me to debug NULL pointer dereference without flipper, blind developing went to its end
This commit is contained in:
MX
2022-08-06 05:35:14 +03:00
parent ffc3b634b8
commit 4bbec63f87
6 changed files with 16 additions and 180 deletions

View File

@@ -36,8 +36,10 @@ void* calloc(size_t count, size_t size) {
}
char* strdup(const char* s) {
// arg s marked as non-null, so we need hack to check for NULL
furi_check(((uint32_t)s << 2) != 0);
const char* s_null = s;
if(s_null == NULL) {
return NULL;
}
size_t siz = strlen(s) + 1;
char* y = pvPortMalloc(siz);