diff options
Diffstat (limited to 'firmware/fx2/common/syncdelay.h')
-rw-r--r-- | firmware/fx2/common/syncdelay.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/fx2/common/syncdelay.h b/firmware/fx2/common/syncdelay.h index 0af7d099f..cca96add7 100644 --- a/firmware/fx2/common/syncdelay.h +++ b/firmware/fx2/common/syncdelay.h @@ -23,7 +23,7 @@ #define _SYNCDELAY_H_ /* - * Magic delay required between access to certain xdata registers (TRM page 15-106). + * Magic delay required between access to certain __xdata registers (TRM page 15-106). * For our configuration, 48 MHz FX2 / 48 MHz IFCLK, we need three cycles. Each * NOP is a single cycle.... * @@ -58,8 +58,8 @@ /* * FIXME ensure that the peep hole optimizer isn't screwing us */ -#define SYNCDELAY _asm nop; nop; nop; _endasm -#define NOP _asm nop; _endasm +#define SYNCDELAY __asm nop; nop; nop; __endasm +#define NOP __asm nop; __endasm #endif /* _SYNCDELAY_H_ */ |