only:!= OK vs == RESET
This commit is contained in:
parent
cb5cb4c6e1
commit
a077919deb
|
@ -136,9 +136,8 @@ public:
|
||||||
LogLineBuffer* line;
|
LogLineBuffer* line;
|
||||||
msg_t msg = filledBuffers.fetch(&line, TIME_INFINITE);
|
msg_t msg = filledBuffers.fetch(&line, TIME_INFINITE);
|
||||||
|
|
||||||
if (msg == MSG_RESET) {
|
if (msg != MSG_OK) {
|
||||||
// todo?
|
// This should be impossible - neither timeout or reset should happen
|
||||||
// what happens if MSG_RESET?
|
|
||||||
} else {
|
} else {
|
||||||
{
|
{
|
||||||
// Lock the buffer mutex - inhibit buffer swaps while writing
|
// Lock the buffer mutex - inhibit buffer swaps while writing
|
||||||
|
|
Loading…
Reference in New Issue