Changeset 934 for trunk/src/ifd


Ignore:
Timestamp:
12/19/06 21:55:20 (5 years ago)
Author:
aj
Message:

rename to uint*, which seems to be the normal name in use
everywhere else in the code (and does not cause problems
on solaris 10).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/ifd-wbeiuu.c

    r932 r934  
    6565// 8.- A struct for saving the wbeiuu state and the inserted card params 
    6666 
    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) 
     67static int wbeiuu_set_led(ifd_device_t * dev, uint16_t R, uint16_t G, 
     68                          uint16_t B, uint8_t F) 
    6969{ 
    7070        const int BUFSIZE = 8; 
    7171        int status; 
    72         u_int8_t buf[BUFSIZE]; 
     72        uint8_t buf[BUFSIZE]; 
    7373 
    7474        buf[0] = 0x04;          // Set LED command 
     
    429429//  buf[0] = IUU_UART_ESC; 
    430430//  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 */ 
    434434//   
    435435//  status = iuu_write(inf, buf, 5); 
Note: See TracChangeset for help on using the changeset viewer.