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:
Theodore Ateba 2017-09-13 21:35:59 +00:00
parent 1fb6dc3e55
commit 0151295d4f
1 changed files with 3 additions and 0 deletions

View File

@ -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");