Skip to content

Commit 5a78840

Browse files
committed
cmodule/cdriver: Fix syntax errors.
Signed-off-by: lbuque <[email protected]>
1 parent e101917 commit 5a78840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/cmodules/cdriver/max30102/max30102.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ bool max30102_detect_pulse(max30102_config_t *this, float sensor_value) {
288288
}
289289

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

0 commit comments

Comments
 (0)