formatting

This commit is contained in:
‘王毅’ 2024-06-12 17:58:34 +08:00 committed by Marco Trevisan (Treviño)
parent beab941894
commit e1caa3de3b

View file

@ -70,6 +70,7 @@ ma_protocol_crc16_calc (
for (i = start; i < data_len; temp++, i++)
sum += *(temp + start) & 0xff;
uint16_t sum_s = (sum & 0xffff);
return sum_s;
}