[PATCH] Commented out section waiting on commit from libdivecomputer. It relied on DC_EVENT_BATTERY.

John Van Ostrand john at vanostrand.com
Mon Oct 27 17:51:51 PDT 2014


Signed-off-by: John Van Ostrand <john at vanostrand.com>
---
 cochran.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cochran.c b/cochran.c
index 9e31f55..7651441 100644
--- a/cochran.c
+++ b/cochran.c
@@ -351,11 +351,13 @@ int cochran_dive_event(struct divecomputer *dc, const unsigned char *s,
 					SAMPLE_FLAGS_BEGIN, 0,
 					QT_TRANSLATE_NOOP("gettextFromC", "ascent"));
 			break;
+/* waiting for libdivecomputer patch
 		case 0xC2:	// Low battery warning
 			add_event(dc, seconds, SAMPLE_EVENT_BATTERY,
 					SAMPLE_FLAGS_NONE, 0, 
 					QT_TRANSLATE_NOOP("gettextFromC", "battery"));
 			break;
+*/
 		case 0xC3:	// CNS warning
 			add_event(dc, seconds, SAMPLE_EVENT_OLF,
 					SAMPLE_FLAGS_BEGIN, 0, 
-- 
1.8.3.1



More information about the subsurface mailing list