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/lib/drv/generic/remote_usbhid.c

    re7079cf r4e78236  
    3636#include <errno.h>
    3737#include <assert.h>
     38#include <stdio.h>
    3839
    3940#include "usbhid_iface.h"
     
    5859};
    5960
    60 usbhc_iface_t *usb_iface = (usbhc_iface_t *) iface;
     61//usbhc_iface_t *usb_iface = (usbhc_iface_t *) iface;
    6162
    6263
     
    7576
    7677        size_t len = hid_iface->get_event_length(fun);
    77         if (len == 0) {
    78                 len = EEMPTY;
    79         }
    80         if (len < 0) {
    81                 async_answer_0(callid, len);
    82         } else {
    83                 async_answer_1(callid, EOK, len);
    84         }
     78//      if (len == 0) {
     79//              len = EEMPTY;
     80//      }
     81        async_answer_1(callid, EOK, len);
     82       
     83//      if (len < 0) {
     84//              async_answer_0(callid, len);
     85//      } else {
     86//              async_answer_1(callid, EOK, len);
     87//      }
    8588}
    8689
Note: See TracChangeset for help on using the changeset viewer.