[En-Nut-Discussion] Problem with Ethernut Startup
Stephen Noftall
stephenn at lcsaudio.com
Tue Jun 24 21:41:48 CEST 2003
> Btw. avoid
>
> static int bar = 0;
>
> as this will put two bytes in the data segment and waste
> a two byte copy in flash memory for initialization.
>
> static int bar;
>
> will put the variable in bss, which is automatically cleared
> during initialization.
>
> Harald
Didn't know that one Harald. Learn something new every day! Thanks
Stephen Noftall
More information about the En-Nut-Discussion
mailing list