Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
thpe committed Jun 28, 2024
1 parent 9d4080f commit f65a35e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/scd30.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,9 @@ class SCD30 {
continue;
}
if ((wait_start == 0) && (ch == 0x61)) {
// printf("X%xX\r\n", (int)ch);
wait_start = 1;
chars_rxed = 0;
}
// printf("RX %d-%x,", chars_rxed, (int)ch);

crc = crc_update(crc, &ch, 1);
raw_buffer[chars_rxed++] = ch;
Expand All @@ -158,7 +156,6 @@ class SCD30 {


if (wait_start == 1 && chars_rxed >= resp_len) {
// printf("IRQ: rx finished\r\n");
crc = crc_finalize(crc);
finished=1;
}
Expand Down

0 comments on commit f65a35e

Please sign in to comment.