summaryrefslogtreecommitdiff
path: root/nuttx/arch/pjrc-8051/include/irq.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-11 21:16:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-11 21:16:56 +0000
commit7e354ad57b4d040ab88e2eeb4ac84240e65e0e52 (patch)
treea8d9734a0a38870239e613c63c3e066b36221b18 /nuttx/arch/pjrc-8051/include/irq.h
parent6877a8efaf6edad7dcff6412c1eb03973d080247 (diff)
downloadpx4-nuttx-7e354ad57b4d040ab88e2eeb4ac84240e65e0e52.tar.gz
px4-nuttx-7e354ad57b4d040ab88e2eeb4ac84240e65e0e52.tar.bz2
px4-nuttx-7e354ad57b4d040ab88e2eeb4ac84240e65e0e52.zip
Fixed 8051 printf bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@57 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/pjrc-8051/include/irq.h')
-rw-r--r--nuttx/arch/pjrc-8051/include/irq.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/arch/pjrc-8051/include/irq.h b/nuttx/arch/pjrc-8051/include/irq.h
index 8ca78adc8..819a73df7 100644
--- a/nuttx/arch/pjrc-8051/include/irq.h
+++ b/nuttx/arch/pjrc-8051/include/irq.h
@@ -44,6 +44,8 @@
* Included Files
************************************************************/
+#include <nuttx/config.h>
+
/************************************************************
* Definitions
************************************************************/
@@ -65,7 +67,7 @@
#define IRAM_BASE 0x0000
#define IRAM_SIZE 0x0100
-#define STACK_BASE 0x0030
+#define STACK_BASE 0x0024
#define STACK_SIZE (IRAM_SIZE - STACK_BASE)
/* This is the form of initial stack frame