We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4ed4f1 commit f6252baCopy full SHA for f6252ba
src/AudioTools/CoreAudio/AudioBasic/Collections/Allocator.h
@@ -92,7 +92,7 @@ class AllocatorExt : public Allocator {
92
void* do_allocate(size_t size) {
93
void* result = nullptr;
94
if (size == 0) size = 1;
95
-#if defined(ESP32) && defined(ARDUINO)
+#if (defined(RP2040) || defined(ESP32)) && defined(ARDUINO)
96
result = ps_malloc(size);
97
#endif
98
if (result == nullptr) result = malloc(size);
@@ -106,7 +106,7 @@ class AllocatorExt : public Allocator {
106
}
107
};
108
109
110
111
/**
112
* @brief Memory allocateator which uses ps_malloc to allocate the memory in
0 commit comments