reducing code duplication

This commit is contained in:
rusefi 2023-06-11 23:36:38 -04:00
parent 426bc8720e
commit f371a4b9fd
3 changed files with 4 additions and 4 deletions

View File

@ -39,3 +39,7 @@
#include "datalogging.h"
#include "cli_registry.h"
#endif /* __cplusplus */
#define EXPECTED_REMAINING_STACK 128
#define assertRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)

View File

@ -27,8 +27,6 @@
#include "global.h"
#define EXPECTED_REMAINING_STACK 128
/*
* Stack debugging
*/

View File

@ -57,8 +57,6 @@ typedef unsigned int time_t;
#define getCurrentRemainingStack() getRemainingStack(chThdGetSelfX())
#define assertRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)
#define EFI_ERROR_CODE 0xffffffff
/**