aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/include/hal_qei.h2
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.c4
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h4
-rw-r--r--os/hal/src/hal_qei.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/include/hal_qei.h b/os/hal/include/hal_qei.h
index b71dad2..92f03fc 100644
--- a/os/hal/include/hal_qei.h
+++ b/os/hal/include/hal_qei.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Martino Migliavacca
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/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.c
index c9f511b..ea051f7 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Martino Migliavacca
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
#include "hal.h"
-#if HAL_USE_QEI || defined(__DOXYGEN__)
+#if (HAL_USE_QEI == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
index f098d7b..05f0ea7 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Martino Migliavacca
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
#ifndef HAL_QEI_LLD_H
#define HAL_QEI_LLD_H
-#if HAL_USE_QEI || defined(__DOXYGEN__)
+#if (HAL_USE_QEI == TRUE) || defined(__DOXYGEN__)
#include "stm32_tim.h"
diff --git a/os/hal/src/hal_qei.c b/os/hal/src/hal_qei.c
index 804e474..ec533ad 100644
--- a/os/hal/src/hal_qei.c
+++ b/os/hal/src/hal_qei.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Martino Migliavacca
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.