diff options
Diffstat (limited to 'demos/AVR-AT90CANx-GCC/chcore.h')
-rw-r--r-- | demos/AVR-AT90CANx-GCC/chcore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/AVR-AT90CANx-GCC/chcore.h b/demos/AVR-AT90CANx-GCC/chcore.h index d263202d8..799742f47 100644 --- a/demos/AVR-AT90CANx-GCC/chcore.h +++ b/demos/AVR-AT90CANx-GCC/chcore.h @@ -97,8 +97,8 @@ typedef struct { #define chSysLock() asm("cli")
#define chSysUnlock() asm("sei")
-void chSysHalt(void);
-void chSysPause(void);
+void chSysHalt(void) __attribute__((noreturn)) ;
+void chSysPause(void) __attribute__((noreturn)) ;
void chSysSwitchI(Context *oldp, Context *newp);
#endif /* _CHCORE_H_ */
|