예제 #1
0
파일: uart.c 프로젝트: kwan3217/Loginator
inline static int isFrameEndNMEA(int port) {
  return (peekHead(&uartbuf[port],-1)==frameEnd[port]);
}
예제 #2
0
파일: uart.c 프로젝트: kwan3217/Loginator
inline static int isFrameEndSiRF(int port) {
  return (peekHead(&uartbuf[port],-1)==0xB3 && peekHead(&uartbuf[port],-2)==0xB0);
}
예제 #3
0
 // Method to examine the top item on the stack
 TCListNode* top() const { return peekHead(); };