Skip to content

Commit

Permalink
cmodules/cdriver/max30100/max30100.c: Fix printf error.
Browse files Browse the repository at this point in the history
Signed-off-by: lbuque <[email protected]>
  • Loading branch information
lbuque committed Jun 21, 2024
1 parent c15b6ec commit 780847e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m5stack/cmodules/cdriver/max30100/max30100.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ bool max30100_detect_pulse(max30100_config_t *this, float sensor_value) {
}

if (this->debug) {
printf("Beat duration: %u\n", beat_duration);
printf("Beat duration: %lu\n", beat_duration);
printf("Raw BPM: %f\n", raw_bpm);
}

Expand Down

0 comments on commit 780847e

Please sign in to comment.