diff options
author | Peter <tixiv@gmx.net> | 2016-09-10 15:13:23 +0200 |
---|---|---|
committer | Nicolas Reinecke <nr@das-labor.org> | 2016-12-05 11:37:44 +0100 |
commit | c7d33767e06000f9da3befd6a7954b82c42d080d (patch) | |
tree | 5edc1cd2bae71422a61f6e3b3dcedf9a21e59ac4 /os/hal/ports | |
parent | 580af16b82c465835801102fe1879f7fffa3296a (diff) | |
download | ChibiOS-Contrib-c7d33767e06000f9da3befd6a7954b82c42d080d.tar.gz ChibiOS-Contrib-c7d33767e06000f9da3befd6a7954b82c42d080d.tar.bz2 ChibiOS-Contrib-c7d33767e06000f9da3befd6a7954b82c42d080d.zip |
change qei types to int16_t
Diffstat (limited to 'os/hal/ports')
-rw-r--r-- | os/hal/ports/NRF5/LLD/hal_qei_lld.h | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/NRF5/LLD/hal_qei_lld.h b/os/hal/ports/NRF5/LLD/hal_qei_lld.h index 6328bab..85c96a5 100644 --- a/os/hal/ports/NRF5/LLD/hal_qei_lld.h +++ b/os/hal/ports/NRF5/LLD/hal_qei_lld.h @@ -166,7 +166,7 @@ typedef enum { /**
* @brief QEI counter type.
*/
-typedef int32_t qeicnt_t;
+typedef int16_t qeicnt_t;
/**
* @brief QEI delta type.
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 c708b5e..ba33a29 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h +++ b/os/hal/ports/STM32/LLD/TIMv1/hal_qei_lld.h @@ -251,7 +251,7 @@ typedef enum { /**
* @brief QEI counter type.
*/
-typedef uint16_t qeicnt_t;
+typedef int16_t qeicnt_t;
/**
* @brief QEI delta type.
|