diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-26 00:40:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-26 00:40:44 +0000 |
commit | e18f7074133d20097fa3d520e7cea6d8144f18b1 (patch) | |
tree | 666a0f33d45be73c2802fd9e773cd5d1a1927b11 /nuttx/arch/z80/src/ez80/chip.h | |
parent | a70abf0ba1552acbff40d59e90e4ff10412a3238 (diff) | |
download | px4-nuttx-e18f7074133d20097fa3d520e7cea6d8144f18b1.tar.gz px4-nuttx-e18f7074133d20097fa3d520e7cea6d8144f18b1.tar.bz2 px4-nuttx-e18f7074133d20097fa3d520e7cea6d8144f18b1.zip |
Fix error in calculating baud rate generation value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1524 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/ez80/chip.h')
-rw-r--r-- | nuttx/arch/z80/src/ez80/chip.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/ez80/chip.h b/nuttx/arch/z80/src/ez80/chip.h index 692b0220f..ca5745f31 100644 --- a/nuttx/arch/z80/src/ez80/chip.h +++ b/nuttx/arch/z80/src/ez80/chip.h @@ -67,7 +67,7 @@ #endif /************************************************************************************ - * Public Function Prototypes + * Public Data ************************************************************************************/ #ifndef __ASSEMBLY__ @@ -78,7 +78,13 @@ extern "C" { #define EXTERN extern #endif -#undef EXTERN +EXTERN uint32 ez80_systemclock; + +/************************************************************************************ + * Public Function Prototypes + ************************************************************************************/ + + #undef EXTERN #ifdef __cplusplus } #endif |