1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

reset unused lifo slots

This commit is contained in:
Ludwig Ortmann 2013-12-17 17:19:07 +01:00
parent 1dac115c68
commit 6021b9f36a

View File

@ -69,6 +69,7 @@ int lifo_get(int *array)
if (head != -1) {
array[0] = array[head + 1];
}
array[head+1] = -1;
return head;
}