qurt px4_layer initialize shared memory (#6453)

This commit is contained in:
Larry Wang
2017-01-27 14:59:12 -08:00
committed by Daniel Agar
parent 0f33ca1ecc
commit 72ea5c53db
+1 -1
View File
@@ -136,7 +136,7 @@ void init_shared_memory(void)
}
//virt_addr = map_memory(MAP_ADDRESS);
map_base = malloc(0x4000); //16KB
map_base = calloc(MAP_SIZE, 1); //16KB
if (map_base == NULL) {
PX4_INFO("adsp memory malloc failed\n");