Searched refs:sps30_serial_calc_chksum (Results 1 – 1 of 1) sorted by relevance
122 static unsigned char sps30_serial_calc_chksum(const unsigned char *buf, size_t num) in sps30_serial_calc_chksum() function149 chksum = sps30_serial_calc_chksum(buf + 1, num - 1); in sps30_serial_prep_frame()181 chksum = sps30_serial_calc_chksum(priv->buf + 1, priv->num - 3); in sps30_serial_frame_valid()