Commit 9488bda6 authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix typo

parent 337c77a0
Pipeline #3527 passed with stage
in 5 minutes and 26 seconds
......@@ -288,7 +288,7 @@ unsigned vdd_read(BYTE* p, unsigned count)
count=RingBufRead(&rdbuf,p,count);
if(count==0) {
lputs(LOG_ERR,"!VDD_READ: RingBufRead read 0, waiting");
if(WaitforEvent(rdbuf.data_event, READ_TIMEOUT) != WAIT_OBJECT_0)
if(WaitForEvent(rdbuf.data_event, READ_TIMEOUT) != WAIT_OBJECT_0)
lputs(LOG_ERR,"!VDD_READ: rdbuf sem timeout");
count = RingBufRead(&rdbuf,p,count);
lputs(LOG_ERR,"!VDD_READ: RingBufRead read 0 (after wait)");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment