[PATCH] Removed dependence on not yet released libdivecomputer code.

Dirk Hohndel dirk at hohndel.org
Mon Oct 27 20:04:52 PDT 2014


BTW, did you check git master…?

:-)

/D

On Oct 27, 2014, at 7:02 PM, John Van Ostrand <john at vanostrand.com> wrote:

> Signed-off-by: John Van Ostrand <john at vanosrand.com>
> ---
> cochran.c | 2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/cochran.c b/cochran.c
> index 9e31f55..b3ba7b4 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;
> +#ifdef SAMPLE_EVENT_BATTERY
> 		case 0xC2:	// Low battery warning
> 			add_event(dc, seconds, SAMPLE_EVENT_BATTERY,
> 					SAMPLE_FLAGS_NONE, 0, 
> 					QT_TRANSLATE_NOOP("gettextFromC", "battery"));
> 			break;
> +#endif
> 		case 0xC3:	// CNS warning
> 			add_event(dc, seconds, SAMPLE_EVENT_OLF,
> 					SAMPLE_FLAGS_BEGIN, 0, 
> -- 
> 1.8.3.1
> 
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface



More information about the subsurface mailing list