aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-03 15:52:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-03 15:52:55 +0000
commitec0a917ae1bef32f1848161e759ef98542327523 (patch)
treea1e800e77272b8b605b8678d70402d42f9f2a57c /test
parentc9efc761574cc108474517a21b98570e21301778 (diff)
downloadChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.gz
ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.bz2
ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@212 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r--test/test.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/test.c b/test/test.c
index 7d8d3b792..097406620 100644
--- a/test/test.c
+++ b/test/test.c
@@ -103,21 +103,21 @@ t_time wait_tick(void) {
t_msg Thread1(void *p) {
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
t_msg Thread2(void *p) {
chSemWait(&sem1);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
t_msg Thread3(void *p) {
chMtxLock(&m1);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
chMtxUnlock();
return 0;
}
@@ -220,7 +220,7 @@ t_msg Thread8(void *p) {
chThdSleep(5);
chMtxLock(&m1);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -229,7 +229,7 @@ t_msg Thread9(void *p) {
chMtxLock(&m1);
chThdSleep(20);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -237,7 +237,7 @@ t_msg Thread10(void *p) {
chThdSleep(10);
CPU(50);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -246,7 +246,7 @@ t_msg Thread11(void *p) {
chThdSleep(5);
chSemWait(&sem1);
chSemSignal(&sem1);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -255,7 +255,7 @@ t_msg Thread12(void *p) {
chSemWait(&sem1);
chThdSleep(20);
chSemSignal(&sem1);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -296,7 +296,7 @@ t_msg Thread13(void *p) {
chMtxLock(&m1);
CPU(50);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -310,7 +310,7 @@ t_msg Thread14(void *p) {
chMtxUnlock();
CPU(20);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -320,7 +320,7 @@ t_msg Thread15(void *p) {
chMtxLock(&m2);
CPU(50);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -328,7 +328,7 @@ t_msg Thread16(void *p) {
chThdSleep(40);
CPU(200);
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -338,7 +338,7 @@ t_msg Thread17(void *p) {
chMtxLock(&m2);
CPU(50);
chMtxUnlock();
- chFDDPut(comp, *(BYTE8 *)p);
+ chFDDPut(comp, *(uint8_t *)p);
return 0;
}
@@ -480,7 +480,7 @@ void bench4(void) {
__attribute__((noinline))
void bench5(void) {
- static BYTE8 ib[16];
+ static uint8_t ib[16];
static Queue iq;
unsigned int i;
t_time time;