[PATCH 2/3] Cochran: Correct disparity between model numbers.

John Van Ostrand john at vanostrand.com
Fri Aug 11 07:33:23 PDT 2017


Responded to code review request.
---
 src/descriptor.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/descriptor.c b/src/descriptor.c
index 5093700..794387a 100644
--- a/src/descriptor.c
+++ b/src/descriptor.c
@@ -292,12 +292,12 @@ static const dc_descriptor_t g_descriptors[] = {
 	{"DiveSystem", "iX3M Deep",     DC_FAMILY_DIVESYSTEM_IDIVE, 0x23},
 	{"DiveSystem", "iX3M Tec",      DC_FAMILY_DIVESYSTEM_IDIVE, 0x24},
 	{"DiveSystem", "iX3M Reb",      DC_FAMILY_DIVESYSTEM_IDIVE, 0x25},
-	{"Cochran", "Commander I",	DC_FAMILY_COCHRAN_COMMANDER, 0},
-	{"Cochran", "Commander II",	DC_FAMILY_COCHRAN_COMMANDER, 1},
-	{"Cochran", "EMC-14",		DC_FAMILY_COCHRAN_COMMANDER, 2},
-	{"Cochran", "EMC-16",		DC_FAMILY_COCHRAN_COMMANDER, 3},
-	{"Cochran", "EMC-20H",		DC_FAMILY_COCHRAN_COMMANDER, 4},
-	{"Cochran", "Commander TM",	DC_FAMILY_COCHRAN_COMMANDER, 5},
+	{"Cochran", "Commander TM",	DC_FAMILY_COCHRAN_COMMANDER, 0},
+	{"Cochran", "Commander I",	DC_FAMILY_COCHRAN_COMMANDER, 1},
+	{"Cochran", "Commander II",	DC_FAMILY_COCHRAN_COMMANDER, 2},
+	{"Cochran", "EMC-14",		DC_FAMILY_COCHRAN_COMMANDER, 3},
+	{"Cochran", "EMC-16",		DC_FAMILY_COCHRAN_COMMANDER, 4},
+	{"Cochran", "EMC-20H",		DC_FAMILY_COCHRAN_COMMANDER, 5},
 };
 
 typedef struct dc_descriptor_iterator_t {
-- 
2.4.11



More information about the devel mailing list