aligned_alloc, parameters order

This commit is contained in:
SG
2024-04-09 17:10:59 +03:00
parent 0d3a717762
commit f1e6de7964
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ char* strdup(const char* s) {
return y;
}
void* aligned_alloc(size_t size, size_t alignment) {
void* aligned_alloc(size_t alignment, size_t size) {
return pvPortAllocAligned(size, alignment);
}