Skip to content

Commit 780847e

Browse files
committed
cmodules/cdriver/max30100/max30100.c: Fix printf error.
Signed-off-by: lbuque <[email protected]>
1 parent c15b6ec commit 780847e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/cmodules/cdriver/max30100/max30100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ bool max30100_detect_pulse(max30100_config_t *this, float sensor_value) {
242242
}
243243

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

0 commit comments

Comments
 (0)