mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
cpplint: add filter whitespace/semicolon (#29568)
old-commit-hash: f203648de0a9d78121d3a775ae454a43e1211e62
This commit is contained in:
@@ -508,7 +508,7 @@ void CameraState::enqueue_buffer(int i, bool dp) {
|
||||
}
|
||||
|
||||
void CameraState::enqueue_req_multi(int start, int n, bool dp) {
|
||||
for (int i=start;i<start+n;++i) {
|
||||
for (int i=start; i<start+n; ++i) {
|
||||
request_ids[(i - 1) % FRAME_BUF_COUNT] = i;
|
||||
enqueue_buffer((i - 1) % FRAME_BUF_COUNT, dp);
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ inline int UbloxMsgParser::needed_bytes() {
|
||||
|
||||
inline bool UbloxMsgParser::valid_cheksum() {
|
||||
uint8_t ck_a = 0, ck_b = 0;
|
||||
for (int i = 2; i < bytes_in_parse_buf - ublox::UBLOX_CHECKSUM_SIZE;i++) {
|
||||
for (int i = 2; i < bytes_in_parse_buf - ublox::UBLOX_CHECKSUM_SIZE; i++) {
|
||||
ck_a = (ck_a + msg_parse_buf[i]) & 0xFF;
|
||||
ck_b = (ck_b + ck_a) & 0xFF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user