[rtems commit] pc386: Add Edison base support

Joel Sherrill joel.sherrill at oarcorp.com
Wed Jan 7 21:06:14 UTC 2015



On January 7, 2015 3:04:42 PM CST, Chris Johns <chrisj at rtems.org> wrote:
>On 5/01/2015 6:45 am, Joel Sherril wrote:
>
>Why code like ....
>
>> +#if (BSP_IS_EDISON == 0)
>
>and ...
>
>> +#if (BSP_IS_EDISON == 1)
>
>this rather than ....
>
>#if !BSP_IS_EDISON
>
>and
>
>#if BSP_IS_EDISON
>
>The advantages are unclear to me.

Just personal preference. I just like explicit checks.

>Chris
>_______________________________________________
>devel mailing list
>devel at rtems.org
>http://lists.rtems.org/mailman/listinfo/devel

--joel


More information about the devel mailing list