From 7cedc4d48f574aa763771c40017c78279302c129 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 20 Nov 2014 15:04:01 -0800 Subject: Stop cluttering stout with DC_VENDOR data This was intended for debugging and somehow stayed enabled. Signed-off-by: Dirk Hohndel --- libdivecomputer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdivecomputer.c') diff --git a/libdivecomputer.c b/libdivecomputer.c index 17bd01a0a..9ac50a4eb 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -210,6 +210,7 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata) case DC_SAMPLE_BEARING: sample->bearing.degrees = value.bearing; break; +#ifdef DEBUG_DC_VENDOR case DC_SAMPLE_VENDOR: printf(" ", FRACTION(sample->time.seconds, 60), value.vendor.type, value.vendor.size); @@ -217,6 +218,7 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata) printf("%02X", ((unsigned char *)value.vendor.data)[i]); printf("\n"); break; +#endif #if DC_VERSION_CHECK(0, 3, 0) case DC_SAMPLE_SETPOINT: /* for us a setpoint means constant pO2 from here */ -- cgit v1.2.3-70-g09d2