mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
7f53aa422a
Build it with: make ut_logfs Create a raw flash file like this: dd if=/dev/zero bs=1 count=2MiB | tr '\000' '\377' > theflash.bin Run it with: ./build/unit_tests/logfs/logfs.elf && echo 'all good' Conflicts: Makefile
6 lines
116 B
C
6 lines
116 B
C
#include <stdbool.h>
|
|
|
|
#define PIOS_Assert(x) if (!(x)) { while (1) ; }
|
|
|
|
#define PIOS_DEBUG_Assert(x) PIOS_Assert(x)
|