X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Favr%2Fhw%2Fswitch_avr.S;h=8de975fce005ae34c489be3d1bc6310921e41756;hb=a03edef2a1dba1c14bd1c761bfa635250893933a;hp=e6d0edfa4875ed6010e849b161b8b0dfddcfc16f;hpb=71743c2a5a8bf9dbf66a945fd9656baed0d16329;p=bertos.git diff --git a/bertos/cpu/avr/hw/switch_avr.S b/bertos/cpu/avr/hw/switch_avr.S index e6d0edfa..8de975fc 100644 --- a/bertos/cpu/avr/hw/switch_avr.S +++ b/bertos/cpu/avr/hw/switch_avr.S @@ -1,2 +1,6 @@ -#warning This file is deprecated, use switch_ctx_avr.S -#include "switch_ctx_avr.S" +#include + +#if !(ARCH & ARCH_NIGHTTEST) + #warning This file is deprecated, use switch_ctx_avr.S + #include "switch_ctx_avr.S" +#endif