diff options
Diffstat (limited to 'os/hal/platforms/Linux/hal_lld.c')
-rw-r--r-- | os/hal/platforms/Linux/hal_lld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/Linux/hal_lld.c b/os/hal/platforms/Linux/hal_lld.c index e6679d07a..e143dd5fb 100644 --- a/os/hal/platforms/Linux/hal_lld.c +++ b/os/hal/platforms/Linux/hal_lld.c @@ -59,7 +59,11 @@ static struct timeval tick = {0, 1000000 / CH_FREQUENCY}; */
void hal_lld_init(void) {
+#if defined(__APPLE__)
+ puts("ChibiOS/RT simulator (OS X)\n");
+#else
puts("ChibiOS/RT simulator (Linux)\n");
+#endif
gettimeofday(&nextcnt, NULL);
timeradd(&nextcnt, &tick, &nextcnt);
}
|