Exemple #1
0
inline static int isFrameEndNMEA(int port) {
  return (peekHead(&uartbuf[port],-1)==frameEnd[port]);
}
Exemple #2
0
inline static int isFrameEndSiRF(int port) {
  return (peekHead(&uartbuf[port],-1)==0xB3 && peekHead(&uartbuf[port],-2)==0xB0);
}
Exemple #3
0
 // Method to examine the top item on the stack
 TCListNode* top() const { return peekHead(); };