add mpu, fix keeloq

This commit is contained in:
MX
2022-09-10 20:16:08 +03:00
parent 7930f73a4e
commit 177fabe50c
8 changed files with 188 additions and 18 deletions
+2 -4
View File
@@ -37,10 +37,8 @@ void* calloc(size_t count, size_t size) {
}
char* strdup(const char* s) {
const char* s_null = s;
if(s_null == NULL) {
return NULL;
}
// arg s marked as non-null, so we need hack to check for NULL
furi_check(((uint32_t)s << 2) != 0);
size_t siz = strlen(s) + 1;
char* y = pvPortMalloc(siz);