aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/cosmic/STM8/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/cosmic/STM8/chcore.h')
-rw-r--r--os/ports/cosmic/STM8/chcore.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/os/ports/cosmic/STM8/chcore.h b/os/ports/cosmic/STM8/chcore.h
index e04341c2e..ebf13d0ac 100644
--- a/os/ports/cosmic/STM8/chcore.h
+++ b/os/ports/cosmic/STM8/chcore.h
@@ -70,7 +70,6 @@ typedef uint8_t stkalign_t;
*/
typedef void (*stm8func_t)(void);
-#if !defined(__DOXYGEN__)
/**
* @brief Interrupt saved context.
* @details This structure represents the stack frame saved during a
@@ -90,9 +89,7 @@ struct extctx {
uint8_t pch;
uint8_t pcl;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief System saved context.
* @details This structure represents the inner stack frame during a context
@@ -104,9 +101,7 @@ struct intctx {
uint8_t _next;
stm8func_t pc; /* Function pointer sized return address. */
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief Platform dependent part of the @p Thread structure.
* @details This structure usually contains just the saved stack pointer
@@ -115,7 +110,6 @@ struct intctx {
struct context {
struct intctx *sp;
};
-#endif
/**
* @brief Start context.