Remove a compilation warning.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10581 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
1fb6dc3e55
commit
0151295d4f
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue