projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Write or read buffer in block size chunk.
[bertos.git]
/
bertos
/
cpu
/
avr
/
hw
/
switch_avr.S
diff --git
a/bertos/cpu/avr/hw/switch_avr.S
b/bertos/cpu/avr/hw/switch_avr.S
index e6d0edfa4875ed6010e849b161b8b0dfddcfc16f..8de975fce005ae34c489be3d1bc6310921e41756 100644
(file)
--- 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 <cfg/cfg_arch.h>
+
+#if !(ARCH & ARCH_NIGHTTEST)
+ #warning This file is deprecated, use switch_ctx_avr.S
+ #include "switch_ctx_avr.S"
+#endif