reducing code duplication
This commit is contained in:
parent
426bc8720e
commit
f371a4b9fd
|
@ -39,3 +39,7 @@
|
|||
#include "datalogging.h"
|
||||
#include "cli_registry.h"
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define EXPECTED_REMAINING_STACK 128
|
||||
|
||||
#define assertRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
|
||||
#include "global.h"
|
||||
|
||||
#define EXPECTED_REMAINING_STACK 128
|
||||
|
||||
/*
|
||||
* Stack debugging
|
||||
*/
|
||||
|
|
|
@ -57,8 +57,6 @@ typedef unsigned int time_t;
|
|||
|
||||
#define getCurrentRemainingStack() getRemainingStack(chThdGetSelfX())
|
||||
|
||||
#define assertRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)
|
||||
|
||||
#define EFI_ERROR_CODE 0xffffffff
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue