equal
deleted
inserted
replaced
45 |
45 |
46 //#define LSS_TIMEOUT_MS (TIMEVAL)1000 /* ms */ |
46 //#define LSS_TIMEOUT_MS (TIMEVAL)1000 /* ms */ |
47 //#define LSS_FS_TIMEOUT_MS (TIMEVAL)100 /* ms */ |
47 //#define LSS_FS_TIMEOUT_MS (TIMEVAL)100 /* ms */ |
48 |
48 |
49 /* Returns the LSS ident field from a Message struct */ |
49 /* Returns the LSS ident field from a Message struct */ |
50 #define getLSSIdent(msg) ((msg->data[4] << 24) | (msg->data[3] << 16) | (msg->data[2] << 8) | (msg->data[1])) |
50 #define getLSSIdent(msg) (((UNS32)msg->data[4] << 24) | ((UNS32)msg->data[3] << 16) | (msg->data[2] << 8) | (msg->data[1])) |
|
51 |
51 |
52 |
52 /* Returns the LSS switch delay field from a Message struct */ |
53 /* Returns the LSS switch delay field from a Message struct */ |
53 #define getLSSDelay(msg) ((msg->data[2] << 8) | (msg->data[1])) |
54 #define getLSSDelay(msg) ((msg->data[2] << 8) | (msg->data[1])) |
54 |
55 |
55 /* Returns the LSS FastScan BitCheck field from a Message struct */ |
56 /* Returns the LSS FastScan BitCheck field from a Message struct */ |