aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/AVR
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2017-09-13 21:35:59 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2017-09-13 21:35:59 +0000
commit0151295d4f2a20e01048a9bef75129b2e133577b (patch)
tree6100e8f08fc7e0556afd2938ae84aae9de60af54 /os/common/ports/AVR
parent1fb6dc3e55cb7fa5c52b990717af5ee0c9efaf36 (diff)
downloadChibiOS-0151295d4f2a20e01048a9bef75129b2e133577b.tar.gz
ChibiOS-0151295d4f2a20e01048a9bef75129b2e133577b.tar.bz2
ChibiOS-0151295d4f2a20e01048a9bef75129b2e133577b.zip
Remove a compilation warning.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10581 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/AVR')
-rw-r--r--os/common/ports/AVR/chcore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/common/ports/AVR/chcore.c b/os/common/ports/AVR/chcore.c
index 77f6ace9f..c754244c5 100644
--- a/os/common/ports/AVR/chcore.c
+++ b/os/common/ports/AVR/chcore.c
@@ -71,6 +71,9 @@ __attribute__((naked, weak))
#endif
void _port_switch(thread_t *ntp, thread_t *otp) {
+ (void)ntp;
+ (void)otp;
+
asm volatile ("push r2");
asm volatile ("push r3");
asm volatile ("push r4");