diff options
author | Theodore Ateba <tf.ateba@gmail.com> | 2017-09-13 21:35:59 +0000 |
---|---|---|
committer | Theodore Ateba <tf.ateba@gmail.com> | 2017-09-13 21:35:59 +0000 |
commit | 0151295d4f2a20e01048a9bef75129b2e133577b (patch) | |
tree | 6100e8f08fc7e0556afd2938ae84aae9de60af54 | |
parent | 1fb6dc3e55cb7fa5c52b990717af5ee0c9efaf36 (diff) | |
download | ChibiOS-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
-rw-r--r-- | os/common/ports/AVR/chcore.c | 3 |
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");
|