Changeset 4e78236 in mainline for uspace/app/mkbd/main.c


Ignore:
Timestamp:
2011-05-24T19:10:49Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7c72db
Parents:
e7079cf
Message:

Fixed mkbd and corresponding library functions.

  • Fixed linking remote_usbhid.c
  • Added some temporary debug output.
  • Fix in hiddev.c.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkbd/main.c

    re7079cf r4e78236  
    4949#include <usb/hid/iface.h>
    5050#include <usb/dev/pipes.h>
     51#include <async.h>
    5152
    5253#define NAME "mkbd"
     
    229230        }
    230231       
    231         char *devpath = argv[1];
     232        //char *devpath = argv[1];
     233        const char *devpath = "/hw/pci0/00:06.0/ohci-rh/usb00_a2/HID0/hid";
    232234
    233235//      /* The initialization is here only to make compiler happy. */
     
    323325               
    324326                printf("Got buffer: %p, size: %zu\n", event, actual_size);
     327               
     328                async_usleep(10000);
    325329        }
    326330       
Note: See TracChangeset for help on using the changeset viewer.