Searched refs:usCnt (Results 1 – 2 of 2) sorted by relevance
91 USHORT usCnt = 0; in usMBPortSerialRxPoll() local95 while(xReadStatus && (usCnt++ <= MB_SERIAL_BUF_SIZE)) { in usMBPortSerialRxPoll()105 ESP_LOGD(TAG, "RX: %d bytes\n", usCnt); in usMBPortSerialRxPoll()107 return usCnt; in usMBPortSerialRxPoll()
89 USHORT usCnt = 0; in usMBMasterPortSerialRxPoll() local92 while(xReadStatus && (usCnt++ <= MB_SERIAL_BUF_SIZE)) { in usMBMasterPortSerialRxPoll()98 ESP_LOGD(TAG, "Received data: %d(bytes in buffer)\n", (uint32_t)usCnt); in usMBMasterPortSerialRxPoll()102 return usCnt; in usMBMasterPortSerialRxPoll()