cpplint: add filter whitespace/semicolon (#29568)

old-commit-hash: f203648de0a9d78121d3a775ae454a43e1211e62
This commit is contained in:
Dean Lee
2023-08-24 06:00:30 +08:00
committed by GitHub
parent 72e6a332d1
commit 5f4b422305
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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;
}