aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Win32-MSVS/demo.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-22 15:24:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-22 15:24:50 +0000
commit97bf45204321755cf2e78a7cc7ff616edaec59c4 (patch)
tree12d06ab98ac32707ddb3ee228c4ed7f9e2870b1e /demos/Win32-MSVS/demo.c
parent080fb7d084f878e792563a60a255b5fc993ae0ba (diff)
downloadChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.tar.gz
ChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.tar.bz2
ChibiOS-97bf45204321755cf2e78a7cc7ff616edaec59c4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@105 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/Win32-MSVS/demo.c')
-rw-r--r--demos/Win32-MSVS/demo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/Win32-MSVS/demo.c b/demos/Win32-MSVS/demo.c
index 1d4f4aa16..7f8bd6903 100644
--- a/demos/Win32-MSVS/demo.c
+++ b/demos/Win32-MSVS/demo.c
@@ -23,10 +23,10 @@
#include <ch.h>
static ULONG32 wdguard;
-static BYTE8 wdarea[UserStackSize(2048)];
+static WorkingArea(wdarea, 2048);
static ULONG32 cdguard;
-static BYTE8 cdarea[UserStackSize(2048)];
+static WorkingArea(cdarea, 2048);
static Thread *cdtp;
static t_msg WatchdogThread(void *arg);
@@ -159,7 +159,7 @@ static t_msg ShellThread(void *arg) {
FullDuplexDriver *sd = (FullDuplexDriver *)arg;
char *lp, line[64];
Thread *tp;
- BYTE8 tarea[UserStackSize(1024)];
+ WorkingArea(tarea, 1024);
chIQReset(&sd->sd_iqueue);
chOQReset(&sd->sd_oqueue);
@@ -221,7 +221,7 @@ static t_msg ShellThread(void *arg) {
return 0;
}
-static BYTE8 s1area[UserStackSize(4096)];
+static WorkingArea(s1area, 2048);
static Thread *s1;
EventListener s1tel;
@@ -244,7 +244,7 @@ static void COM1Handler(t_eventid id) {
chIQReset(&COM1.sd_iqueue);
}
-static BYTE8 s2area[UserStackSize(4096)];
+static WorkingArea(s2area, 2048);
static Thread *s2;
EventListener s2tel;