From 5bcd67406558400f967f555400dd11e6d394de21 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 3 Aug 2016 09:42:48 +0000 Subject: 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 --- os/common/ports/AVR/compilers/GCC/chtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/common') 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. */ /** @} */ -- cgit v1.2.3