Skip to content

Commit 9dd2599

Browse files
committed
fix[IAR/RL78 Port] Compilation fails on portasm.s file
The indentation on ASM macro is not authorized by IAR compiler
1 parent 03dc002 commit 9dd2599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

portable/IAR/RL78/portmacro.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
* ; * memory mode) registers the _usCriticalNesting value and the Stack Pointer
188188
* ; * of the active Task onto the task stack.
189189
* ; *---------------------------------------------------------------------------*/
190-
portSAVE_CONTEXT MACRO
190+
portSAVE_CONTEXT MACRO
191191
PUSH AX; /* Save AX Register to stack. */
192192
PUSH HL
193193
#if __CODE_MODEL__ == __CODE_MODEL_FAR__
@@ -217,7 +217,7 @@
217217
* ; * general purpose registers and the CS and ES (only in __far memory mode)
218218
* ; * of the selected task from the task stack.
219219
* ; *---------------------------------------------------------------------------*/
220-
portRESTORE_CONTEXT MACRO
220+
portRESTORE_CONTEXT MACRO
221221
MOVW AX, _pxCurrentTCB; /* Restore the Task stack pointer. */
222222
MOVW HL, AX
223223
MOVW AX, [ HL ]

0 commit comments

Comments
 (0)