(minor: formatting)
parent
b5ffe83a38
commit
a05c0e42bd
|
@ -108,8 +108,8 @@ static uint8_t resize_stack(void) {
|
|||
return 0; // nothing to do
|
||||
|
||||
uint8_t new_allocated;
|
||||
if (unused_max >= (MIN_UNUSED + MAX_UNUSED) / 2)
|
||||
new_allocated = stack.filled + (MIN_UNUSED + MAX_UNUSED) / 2;
|
||||
if ( unused_max >= (MIN_UNUSED+MAX_UNUSED)/2 )
|
||||
new_allocated = stack.filled + (MIN_UNUSED+MAX_UNUSED)/2;
|
||||
else if (unused_max >= MIN_UNUSED)
|
||||
new_allocated = UINT8_MAX;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue