[En-Nut-Discussion] STM32 share EXTI can not work properly, need some fix below

Nathan Moore nategoose at gmail.com
Thu Sep 24 21:10:56 CEST 2015


>
>
> Follows the Nut/OS coding rules (we never use '1 == x', always 'x == 1')
>
>
Why is that?  While (x == 1) seems more natural (1 == x) is safer since the
accidental (1 = x) will generate a compiler error.


More information about the En-Nut-Discussion mailing list