aboutsummaryrefslogtreecommitdiffstats
path: root/ports/AVR/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/AVR/chcore.h')
-rw-r--r--ports/AVR/chcore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h
index 421c9028f..210b4c366 100644
--- a/ports/AVR/chcore.h
+++ b/ports/AVR/chcore.h
@@ -107,17 +107,14 @@ typedef struct {
#define INT_REQUIRED_STACK 8
#define STACK_ALIGN(n) ((((n) - 1) | sizeof(stkalign_t)) + 1)
-#define StackAlign(n) STACK_ALIGN(n)
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
(sizeof(struct intctx) - 1) + \
(sizeof(struct extctx) - 1) + \
(n) + \
INT_REQUIRED_STACK)
-#define UserStackSize(n) THD_WA_SIZE(n)
#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
-#define WorkingArea(s, n) WORKING_AREA(s, n)
#define chSysLock() asm volatile ("cli")