diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-14 19:15:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-14 19:15:07 +0000 |
commit | 862ecc12715cd262c761451634583bb59e4e5157 (patch) | |
tree | 3a3c3569a70963255e41023e836b4e5ecada1bed /nuttx/arch/z80/src/common/up_internal.h | |
parent | 9e96b774dc77f51d965a8b2b9cf3d9d72637aa02 (diff) | |
download | px4-nuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.gz px4-nuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.bz2 px4-nuttx-862ecc12715cd262c761451634583bb59e4e5157.zip |
More z180 serial logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5437 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/common/up_internal.h')
-rw-r--r-- | nuttx/arch/z80/src/common/up_internal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/z80/src/common/up_internal.h b/nuttx/arch/z80/src/common/up_internal.h index 3adb02a39..def13b546 100644 --- a/nuttx/arch/z80/src/common/up_internal.h +++ b/nuttx/arch/z80/src/common/up_internal.h @@ -70,14 +70,14 @@ #if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE) # undef USE_SERIALDRIVER -# ifdef CONFIG_HAVE_LOWUARTINIT -# define USE_LOWUARTINIT 1 +# ifdef CONFIG_HAVE_LOWSERIALINIT +# define USE_LOWSERIALINIT 1 # else -# undef USE_LOWUARTINIT +# undef USE_LOWSERIALINIT # endif #elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0 # define USE_SERIALDRIVER 1 -# undef USE_LOWUARTINIT +# undef USE_LOWSERIALINIT #endif /**************************************************************************** @@ -105,8 +105,8 @@ extern "C" { EXTERN void up_irqinitialize(void); EXTERN int up_timerisr(int irq, FAR chipreg_t *regs); -#ifdef USE_LOWUARTINIT -EXTERN void up_lowuartinit(void); +#ifdef USE_LOWSERIALINIT +EXTERN void up_lowserialinit(void); #endif /* Defined in up_doirq.c */ |