[En-Nut-Discussion] Nut/OS finally moving to C99 types

Nathan Moore nategoose at gmail.com
Thu Apr 17 15:16:41 CEST 2008


> > 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.
>
> I know it returns the same sized data, but I believe that the comparison
will only be with one of the returned bytes.
I'll need to check this, though.

Nathan



More information about the En-Nut-Discussion mailing list