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 <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2017-06-15 18:22:50 +09:00
parent 323a606688
commit e9754bac64

View File

@ -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},