From e9274448e9058df5a32e43212ee9858006fe1c4d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 24 Feb 2009 16:07:42 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@802 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/AVR/chcore.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ports') diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h index 1bb142b55..30eb905fc 100644 --- a/ports/AVR/chcore.h +++ b/ports/AVR/chcore.h @@ -175,16 +175,16 @@ struct context { * This code tricks the compiler to save all the specified registers by * "touching" them. */ -#define PORT_IRQ_PROLOGUE() { \ -asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \ - "r25", "r26", "r27", "r30", "r31"); \ +#define PORT_IRQ_PROLOGUE() { \ + asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \ + "r25", "r26", "r27", "r30", "r31"); \ } /** * IRQ epilogue code, inserted at the end of all IRQ handlers enabled to * invoke system APIs. */ -#define PORT_IRQ_EPILOGUE() { \ +#define PORT_IRQ_EPILOGUE() { \ if (chSchRescRequiredI()) \ chSchDoRescheduleI(); \ } @@ -240,7 +240,7 @@ asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \ * This port function is implemented as inlined code for performance reasons. */ #if ENABLE_WFI_IDLE != 0 -#define port_wait_for_interrupt() { \ +#define port_wait_for_interrupt() { \ asm volatile ("sleep"); \ } #else -- cgit v1.2.3