version 1.1.1.1.2.1, 2010/03/11 13:39:28
|
version 1.1.1.1.2.2, 2010/03/12 14:57:18
|
Line 204 inline u_char pelcoAddCmdData(void * __restrict p, u_c
|
Line 204 inline u_char pelcoAddCmdData(void * __restrict p, u_c
|
|
|
return ret; |
return ret; |
} |
} |
|
|
|
/* |
|
* pelcoGetCmdData() Get from packet commands and datas with verify packet |
|
* @p = Input Packet structure |
|
* @cmd[2] = Output Commands 1 & 2 |
|
* @data[2] = Output Data for commands 1 & 2 |
|
* return: 'd' - PelcoD, 'p' - PelcoP, 0 - unknown or bad packet |
|
*/ |
|
inline u_char pelcoGetCmdData(void * __restrict p, u_char * __restrict cmd, u_char * __restrict data) |
|
{ |
|
return pelco_GetCamCmdData(p, NULL, cmd, data); |
|
} |