diff options
Diffstat (limited to 'os/kernel/include/chregistry.h')
-rw-r--r-- | os/kernel/include/chregistry.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/include/chregistry.h b/os/kernel/include/chregistry.h index 0669dc43f..a39d37841 100644 --- a/os/kernel/include/chregistry.h +++ b/os/kernel/include/chregistry.h @@ -35,9 +35,9 @@ * @brief ChibiOS/RT memory signature record.
*/
typedef struct {
- char ch_identifier[4]; /**< @brief Always set to "CHRT". */
+ char ch_identifier[4]; /**< @brief Always set to "main". */
+ uint8_t ch_zero; /**< @brief Must be zero. */
uint8_t ch_size; /**< @brief Size of this structure. */
- uint8_t ch_reserved5; /**< @brief Reserved field. */
uint16_t ch_version; /**< @brief Encoded ChibiOS/RT version. */
uint8_t ch_ptrsize; /**< @brief Size of a pointer. */
uint8_t ch_timesize; /**< @brief Size of a @p systime_t. */
@@ -116,7 +116,7 @@ typedef struct { #ifdef __cplusplus
extern "C" {
#endif
- extern volatile ROMCONST chdebug_t ch_debug;
+ extern ROMCONST chdebug_t ch_debug;
Thread *chRegFirstThread(void);
Thread *chRegNextThread(Thread *tp);
#ifdef __cplusplus
|