mirror of
https://github.com/apache/nuttx.git
synced 2025-12-13 06:14:40 +08:00
Fix showprogress macro (still ARM assembly)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1196 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -161,11 +161,9 @@
|
||||
|
||||
.macro showprogress, code
|
||||
#ifdef CONFIG_DEBUG
|
||||
mov r0, #\code
|
||||
bl up_lowputc
|
||||
mov.l .Llowputc, r0 /* Address of up_earlyserialinit */
|
||||
jsr @r0 /* Call it */
|
||||
or r0, r0 /* Delay slot */
|
||||
mov #\code, r4 /* Delay slot */
|
||||
#endif
|
||||
.endm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user