diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-08 15:09:39 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-09 10:11:58 -0500 |
commit | 81074900dfbf08326d735bb37d78c2dc8e3e8d2b (patch) | |
tree | eb461773f6bfbed56f860bf03cedb535172ecb42 /cpukit | |
parent | libbsp/powerpc/shared/tod/todcfg.c: Fix method prototype to eliminate warning (diff) | |
download | rtems-81074900dfbf08326d735bb37d78c2dc8e3e8d2b.tar.bz2 |
avr/rtems/score/cpu.h: Fix macros to avoid warnings
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/avr/rtems/score/cpu.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h index ba3bfb8015..7a6e9d91dc 100644 --- a/cpukit/score/cpu/avr/rtems/score/cpu.h +++ b/cpukit/score/cpu/avr/rtems/score/cpu.h @@ -685,14 +685,13 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context; * * AVR Specific Information: * - * XXX document implementation including references if appropriate + * TODO: As of 8 October 2014, this method is not implemented. */ - -#define _CPU_ISR_Set_level( new_level ) \ - { \ - } - #ifndef ASM +static inline void _CPU_ISR_Set_level( unsigned int new_level ) +{ +} + uint32_t _CPU_ISR_Get_level( void ); |