aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-25 09:19:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-25 09:19:43 +0000
commit17c6e5cd7f87de96931c8b4faac8e4d50499477c (patch)
treea806e7d8d9be186f06780d999ddaa501d89fe749 /os/hal
parent5c15ef8064d2807770aa5595ea836329f91877c2 (diff)
downloadChibiOS-17c6e5cd7f87de96931c8b4faac8e4d50499477c.tar.gz
ChibiOS-17c6e5cd7f87de96931c8b4faac8e4d50499477c.tar.bz2
ChibiOS-17c6e5cd7f87de96931c8b4faac8e4d50499477c.zip
Fixed bug 2921012.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1469 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/Linux/hal_lld.c2
-rw-r--r--os/hal/platforms/Win32/hal_lld.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/platforms/Linux/hal_lld.c b/os/hal/platforms/Linux/hal_lld.c
index 3f045b138..713d10637 100644
--- a/os/hal/platforms/Linux/hal_lld.c
+++ b/os/hal/platforms/Linux/hal_lld.c
@@ -59,7 +59,7 @@ static struct timeval tick = {0, 1000000 / CH_FREQUENCY};
*/
void hal_lld_init(void) {
- puts("Win32 ChibiOS/RT simulator (Linux)\n");
+ puts("ChibiOS/RT simulator (Linux)\n");
gettimeofday(&nextcnt, NULL);
timeradd(&nextcnt, &tick, &nextcnt);
}
diff --git a/os/hal/platforms/Win32/hal_lld.c b/os/hal/platforms/Win32/hal_lld.c
index 6cf11c02f..6e36a19c6 100644
--- a/os/hal/platforms/Win32/hal_lld.c
+++ b/os/hal/platforms/Win32/hal_lld.c
@@ -62,12 +62,11 @@ void hal_lld_init(void) {
exit(1);
}
- printf("Win32 ChibiOS/RT simulator\n\n");
+ printf("ChibiOS/RT simulator (Win32)\n");
if (!QueryPerformanceFrequency(&slice)) {
printf("QueryPerformanceFrequency() error");
exit(1);
}
- printf("Core Frequency %u Hz\n", (int)slice.LowPart);
slice.QuadPart /= CH_FREQUENCY;
QueryPerformanceCounter(&nextcnt);
nextcnt.QuadPart += slice.QuadPart;