Make board_crashdump.c arch agnostic and move to common

This commit is contained in:
David Sidrane
2017-01-23 22:10:38 +01:00
committed by Lorenz Meier
parent 127a639cd6
commit 59ec0e8aef
12 changed files with 9 additions and 22 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ px4_add_module(
MODULE drivers__boards__px4fmu-v2
COMPILE_FLAGS
SRCS
../common/stm32/board_crashdump.c
../common/board_crashdump.c
../common/board_dma_alloc.c
px4fmu_can.c
px4fmu2_init.c
@@ -477,10 +477,3 @@ __EXPORT int board_app_initialize(uintptr_t arg)
return OK;
}
static void copy_reverse(stack_word_t *dest, stack_word_t *src, int size)
{
while (size--) {
*dest++ = *src--;
}
}