aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-01-07 21:30:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-01-07 21:30:52 +0000
commit1206167e18e05276ee8987e3a0934f5e143f8e10 (patch)
tree9b1d7e11f4dce17f953fee153622692dd02501b8 /os/rt
parent78a39fd01b36aef25aedb23df2bede6f1e2d36fc (diff)
downloadChibiOS-1206167e18e05276ee8987e3a0934f5e143f8e10.tar.gz
ChibiOS-1206167e18e05276ee8987e3a0934f5e143f8e10.tar.bz2
ChibiOS-1206167e18e05276ee8987e3a0934f5e143f8e10.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8716 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt')
-rw-r--r--os/rt/include/chbsem.h2
-rw-r--r--os/rt/include/chsys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chbsem.h b/os/rt/include/chbsem.h
index aa5fd7044..b25983118 100644
--- a/os/rt/include/chbsem.h
+++ b/os/rt/include/chbsem.h
@@ -72,7 +72,7 @@
*
* @brief Binary semaphore type.
*/
-typedef struct {
+typedef struct {
semaphore_t bs_sem;
} binary_semaphore_t;
diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h
index e5134d2e8..6742259e3 100644
--- a/os/rt/include/chsys.h
+++ b/os/rt/include/chsys.h
@@ -343,7 +343,7 @@ static inline void chSysEnable(void) {
*
* @special
*/
-static inline void chSysLock(void) {
+static inline void chSysLock(void) {
port_lock();
_stats_start_measure_crit_thd();