From e9754bac644a9ccf6668afc4fe1c294d64ad4065 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 15 Jun 2017 18:22:50 +0900 Subject: [PATCH] Scubapro G2: make the backend_table_t contain the right values for the G2 Not that anybody should ever use that old-style family/model thing anyway, so I considered just removing the g2 entry instead. But dctool still uses this deprecated interfsce to pick a dive computer. Signed-off-by: Linus Torvalds --- examples/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common.c b/examples/common.c index 5ebdd77..72dd517 100644 --- a/examples/common.c +++ b/examples/common.c @@ -54,7 +54,7 @@ static const backend_table_t g_backends[] = { {"aladin", DC_FAMILY_UWATEC_ALADIN, 0x3F}, {"memomouse", DC_FAMILY_UWATEC_MEMOMOUSE, 0}, {"smart", DC_FAMILY_UWATEC_SMART, 0x10}, - {"g2", DC_FAMILY_UWATEC_SMART, 0x10}, + {"g2", DC_FAMILY_SCUBAPRO_G2, 0x11}, {"meridian", DC_FAMILY_UWATEC_MERIDIAN, 0x20}, {"sensus", DC_FAMILY_REEFNET_SENSUS, 1}, {"sensuspro", DC_FAMILY_REEFNET_SENSUSPRO, 2},