[En-Nut-Discussion] Nut/OS finally moving to C99 types
Moritz Struebe
morty at gmx.net
Thu Apr 17 15:28:39 CEST 2008
Harald Kipp schrieb:
> Nathan Moore wrote:
>
>
>> Are you switching return types for event functions to use int_fast8_t?
>>
>
> If I remember correctly, the AVR compiler generates the same code, no
> matter wether an 8 or 16 bit value is returned.
>
> Please correct me if I'm wrong.
>
>
>
From avr-libc stdint.h:
typedef int8_t int_fast8_t;
Unless it generates the same code for int8_t and int16_t you're wrong.
:-) Or I got something wrong. :-)
Cheers
Morty
More information about the En-Nut-Discussion
mailing list