diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-08-03 09:42:48 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-08-03 09:42:48 +0000 |
commit | 5bcd67406558400f967f555400dd11e6d394de21 (patch) | |
tree | b8b05ab79f00b45fbcd1ff1e1c4b289d5905c57d /os/common | |
parent | d82b98664bdcba0b6eff9d938e42eaff4b32132e (diff) | |
download | ChibiOS-5bcd67406558400f967f555400dd11e6d394de21.tar.gz ChibiOS-5bcd67406558400f967f555400dd11e6d394de21.tar.bz2 ChibiOS-5bcd67406558400f967f555400dd11e6d394de21.zip |
Fixed bug in cnt_t type of AVR port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9734 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common')
-rw-r--r-- | os/common/ports/AVR/compilers/GCC/chtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/ports/AVR/compilers/GCC/chtypes.h b/os/common/ports/AVR/compilers/GCC/chtypes.h index 91215dde7..63a81fc50 100644 --- a/os/common/ports/AVR/compilers/GCC/chtypes.h +++ b/os/common/ports/AVR/compilers/GCC/chtypes.h @@ -66,7 +66,7 @@ typedef int16_t msg_t; /**< Inter-thread message. */ typedef int32_t eventid_t; /**< Numeric event identifier. */
typedef uint8_t eventmask_t; /**< Mask of event identifiers. */
typedef uint8_t eventflags_t; /**< Mask of event flags. */
-typedef uint8_t cnt_t; /**< Generic signed counter. */
+typedef int8_t cnt_t; /**< Generic signed counter. */
typedef uint8_t ucnt_t; /**< Generic unsigned counter. */
/** @} */
|