diff options
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/cpp_wrappers/ch.cpp | 2 | ||||
-rw-r--r-- | os/various/cpp_wrappers/ch.hpp | 2 | ||||
-rw-r--r-- | os/various/devices_lib/accel/lis302dl.c | 2 | ||||
-rw-r--r-- | os/various/devices_lib/accel/lis302dl.dox | 2 | ||||
-rw-r--r-- | os/various/devices_lib/accel/lis302dl.h | 2 | ||||
-rw-r--r-- | os/various/devices_lib/lcd/lcd3310.c | 2 | ||||
-rw-r--r-- | os/various/devices_lib/lcd/lcd3310.h | 2 | ||||
-rw-r--r-- | os/various/evtimer.c | 2 | ||||
-rw-r--r-- | os/various/evtimer.h | 2 | ||||
-rw-r--r-- | os/various/fatfs_bindings/fatfs_syscall.c | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/arch/cc.h | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/arch/perf.h | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/arch/sys_arch.c | 28 | ||||
-rw-r--r-- | os/various/lwip_bindings/arch/sys_arch.h | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/lwipthread.c | 2 | ||||
-rw-r--r-- | os/various/lwip_bindings/lwipthread.h | 2 | ||||
-rw-r--r-- | os/various/shell/shell.c | 2 | ||||
-rw-r--r-- | os/various/shell/shell.h | 2 | ||||
-rw-r--r-- | os/various/shell/shell_cmd.c | 2 | ||||
-rw-r--r-- | os/various/shell/shell_cmd.h | 2 | ||||
-rw-r--r-- | os/various/syscalls.c | 2 | ||||
-rw-r--r-- | os/various/various.dox | 2 |
22 files changed, 35 insertions, 35 deletions
diff --git a/os/various/cpp_wrappers/ch.cpp b/os/various/cpp_wrappers/ch.cpp index f827d285a..1dc23427f 100644 --- a/os/various/cpp_wrappers/ch.cpp +++ b/os/various/cpp_wrappers/ch.cpp @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 9f64fc40e..bf44c5c3b 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/devices_lib/accel/lis302dl.c b/os/various/devices_lib/accel/lis302dl.c index a85ad3080..9c3a8621c 100644 --- a/os/various/devices_lib/accel/lis302dl.c +++ b/os/various/devices_lib/accel/lis302dl.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/devices_lib/accel/lis302dl.dox b/os/various/devices_lib/accel/lis302dl.dox index a012b4295..479f14312 100644 --- a/os/various/devices_lib/accel/lis302dl.dox +++ b/os/various/devices_lib/accel/lis302dl.dox @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/devices_lib/accel/lis302dl.h b/os/various/devices_lib/accel/lis302dl.h index 05aa6e4d4..719f8439d 100644 --- a/os/various/devices_lib/accel/lis302dl.h +++ b/os/various/devices_lib/accel/lis302dl.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/devices_lib/lcd/lcd3310.c b/os/various/devices_lib/lcd/lcd3310.c index b1bfc7804..a3f0a2301 100644 --- a/os/various/devices_lib/lcd/lcd3310.c +++ b/os/various/devices_lib/lcd/lcd3310.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/devices_lib/lcd/lcd3310.h b/os/various/devices_lib/lcd/lcd3310.h index d997f7ea3..1fe59d6f6 100644 --- a/os/various/devices_lib/lcd/lcd3310.h +++ b/os/various/devices_lib/lcd/lcd3310.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/evtimer.c b/os/various/evtimer.c index 8d9b36e32..8eb2e6f5e 100644 --- a/os/various/evtimer.c +++ b/os/various/evtimer.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/evtimer.h b/os/various/evtimer.h index 9b37654c0..584ba0f15 100644 --- a/os/various/evtimer.h +++ b/os/various/evtimer.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/fatfs_bindings/fatfs_syscall.c b/os/various/fatfs_bindings/fatfs_syscall.c index a5affe73e..48dc3e7cf 100644 --- a/os/various/fatfs_bindings/fatfs_syscall.c +++ b/os/various/fatfs_bindings/fatfs_syscall.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h index f17744455..eb47666dd 100644 --- a/os/various/lwip_bindings/arch/cc.h +++ b/os/various/lwip_bindings/arch/cc.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/perf.h b/os/various/lwip_bindings/arch/perf.h index 24dba0c54..d8f280dd3 100644 --- a/os/various/lwip_bindings/arch/perf.h +++ b/os/various/lwip_bindings/arch/perf.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/sys_arch.c b/os/various/lwip_bindings/arch/sys_arch.c index 40577f2bc..091c9ab96 100644 --- a/os/various/lwip_bindings/arch/sys_arch.c +++ b/os/various/lwip_bindings/arch/sys_arch.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -96,13 +96,13 @@ void sys_sem_signal_S(sys_sem_t *sem) { chSemSignalI(*sem);
chSchRescheduleS();
-} - -u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) { - systime_t tmo, start, remaining; - - osalSysLock(); - tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE; +}
+
+u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) {
+ systime_t tmo, start, remaining;
+
+ osalSysLock();
+ tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
start = osalOsGetSystemTimeX();
if (chSemWaitTimeoutS(*sem, tmo) != MSG_OK) {
osalSysUnlock();
@@ -168,13 +168,13 @@ err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) { return ERR_MEM;
}
return ERR_OK;
-} - -u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) { +}
+
+u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) {
systime_t tmo, start, remaining;
- - osalSysLock(); - tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE; +
+ osalSysLock();
+ tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
start = osalOsGetSystemTimeX();
if (chMBFetchS(*mbox, (msg_t *)msg, tmo) != MSG_OK) {
osalSysUnlock();
diff --git a/os/various/lwip_bindings/arch/sys_arch.h b/os/various/lwip_bindings/arch/sys_arch.h index dd1a80ee4..a86f40b97 100644 --- a/os/various/lwip_bindings/arch/sys_arch.h +++ b/os/various/lwip_bindings/arch/sys_arch.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c index a94ca33ce..56442bab3 100644 --- a/os/various/lwip_bindings/lwipthread.c +++ b/os/various/lwip_bindings/lwipthread.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.h b/os/various/lwip_bindings/lwipthread.h index 8b76eb67e..b921f0280 100644 --- a/os/various/lwip_bindings/lwipthread.h +++ b/os/various/lwip_bindings/lwipthread.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c index 0cbaedc81..69461e00e 100644 --- a/os/various/shell/shell.c +++ b/os/various/shell/shell.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell.h b/os/various/shell/shell.h index f6607cb43..28701c599 100644 --- a/os/various/shell/shell.h +++ b/os/various/shell/shell.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell_cmd.c b/os/various/shell/shell_cmd.c index f8a8a0c06..29766422a 100644 --- a/os/various/shell/shell_cmd.c +++ b/os/various/shell/shell_cmd.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/shell/shell_cmd.h b/os/various/shell/shell_cmd.h index 9d7c129d0..e81fa3646 100644 --- a/os/various/shell/shell_cmd.h +++ b/os/various/shell/shell_cmd.h @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/syscalls.c b/os/various/syscalls.c index 7a4d04845..d4be50019 100644 --- a/os/various/syscalls.c +++ b/os/various/syscalls.c @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/various.dox b/os/various/various.dox index a12b0da1b..f71e7dfb1 100644 --- a/os/various/various.dox +++ b/os/various/various.dox @@ -1,5 +1,5 @@ /*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
|