[En-Nut-Discussion] NutTcpSend / NutTcpReceive
gpenzo
gpenzo at wanadoo.nl
Thu Nov 24 21:15:48 CET 2005
Harald Kipp wrote:
> Hello Joachim,
>
> At 14:12 23.11.2005 +0100, you wrote:
>
>> uint8 answer[256] = { 0 };
>> u_char cmd[256];
>
>
> This one costs 512 Bytes of stack.
>
>
>> uint8 answer[256] = { 0 };
>> u_char cmd[256];
>
>
> Same here. Better use malloc()/free() or global variables.
>
> Harald
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
>
or make them static
More information about the En-Nut-Discussion
mailing list