Searched refs:lrc (Results 1 – 1 of 1) sorted by relevance
78 uint8_t lrc = 0; in modbus_ascii_get_lrc() local88 lrc += tmp; in modbus_ascii_get_lrc()93 lrc = ~lrc + 1; in modbus_ascii_get_lrc()95 return lrc; in modbus_ascii_get_lrc()189 uint8_t lrc; in modbus_ascii_tx_adu() local215 lrc = modbus_ascii_get_lrc(&cfg->uart_buf[1], (tx_bytes - 1) / 2); in modbus_ascii_tx_adu()216 pbuf = modbus_ascii_bin2hex(lrc, pbuf); in modbus_ascii_tx_adu()