- // Break and stick with current result if buffer
- // was not completely full
- if(memcmp(frame,empty,sizeof(empty))) break;
+ // Break and stick with current result if buffer was not completely full
+ if (frame[0] == 0x44 && frame[1] == 0x44 && frame[2] == 0x44 && frame[3] == 0x44) break;