tests/measure_t24p.c: shrink stack use by 128 bytes
Calibration uses a lot of internal variables, and it used to overflow
even a 3kB stack (by a little amount). This patch shares a temporary
buffer between two functions, so it takes 128 bytes less of stack, and
3kB fit for the wr-nic release.
The problem must still be studied, to reduce stack use.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment