Changeset 934 for trunk/src/ifd
- Timestamp:
- 12/19/06 21:55:20 (5 years ago)
- File:
-
- 1 edited
-
trunk/src/ifd/ifd-wbeiuu.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ifd/ifd-wbeiuu.c
r932 r934 65 65 // 8.- A struct for saving the wbeiuu state and the inserted card params 66 66 67 static int wbeiuu_set_led(ifd_device_t * dev, u _int16_t R, u_int16_t G,68 u _int16_t B, u_int8_t F)67 static int wbeiuu_set_led(ifd_device_t * dev, uint16_t R, uint16_t G, 68 uint16_t B, uint8_t F) 69 69 { 70 70 const int BUFSIZE = 8; 71 71 int status; 72 u _int8_t buf[BUFSIZE];72 uint8_t buf[BUFSIZE]; 73 73 74 74 buf[0] = 0x04; // Set LED command … … 429 429 // buf[0] = IUU_UART_ESC; 430 430 // buf[1] = IUU_UART_CHANGE; 431 // buf[2] = (u _int8_t) ((br >> 8) & 0x00FF); /* high byte */432 // buf[3] = (u _int8_t) (0x00FF & br); /* low byte */433 // buf[4] = (u _int8_t) (parity & sbits); /* both parity and stop now */431 // buf[2] = (uint8_t) ((br >> 8) & 0x00FF); /* high byte */ 432 // buf[3] = (uint8_t) (0x00FF & br); /* low byte */ 433 // buf[4] = (uint8_t) (parity & sbits); /* both parity and stop now */ 434 434 // 435 435 // status = iuu_write(inf, buf, 5);
Note: See TracChangeset
for help on using the changeset viewer.
