Ticket #2137: 6200ch.diff

File 6200ch.diff, 1.1 KB (added by superm1@…, 14 years ago)
  • 6200ch.c

     
    2828#include <unistd.h> // for usleep
    2929
    3030// Motorola DCT-6200 IDs
    31 // Note: there are at least ten different vendor IDs for the 6200
     31// Note: there are at least eleven different vendor IDs for the 6200
    3232#define DCT6200_VENDOR_ID1 0x00000ce5
    3333#define DCT6200_VENDOR_ID2 0x00000e5c
    3434#define DCT6200_VENDOR_ID3 0x00001225
     
    3939#define DCT6200_VENDOR_ID8 0x0000152f
    4040#define DCT6200_VENDOR_ID9 0x000014e8
    4141#define DCT6200_VENDOR_ID10 0x000016b5
     42#define DCT6200_VENDOR_ID11 0x00001371
    4243#define DCT6200_SPEC_ID    0x00005068
    4344#define DCT6200_SW_VERSION 0x00010101
    4445#define DCT6200_MODEL_ID1  0x0000620a
     
    171172            (dir.vendor_id == DCT6200_VENDOR_ID8) ||
    172173            (dir.vendor_id == DCT6200_VENDOR_ID9) ||
    173174            (dir.vendor_id == DCT6200_VENDOR_ID10) ||
     175           (dir.vendor_id == DCT6200_VENDOR_ID11) ||
    174176            (dir.vendor_id == DCT6412_VENDOR_ID1)) &&
    175177           ((dir.model_id == DCT6200_MODEL_ID1) ||
    176178            (dir.model_id == DCT6200_MODEL_ID2) ||