Changeset 59b8639 in mainline


Ignore:
Timestamp:
2017-12-06T12:54:47Z (6 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ef407b
Parents:
b7e1458
Message:

usbdiag: added libusbdiag with dummy symbol to test the functionality.

Location:
uspace
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rb7e1458 r59b8639  
    241241        lib/usbhost \
    242242        lib/usbdev \
     243        lib/usbdiag \
    243244        lib/usbhid \
    244245        lib/usbvirt \
  • uspace/app/tmon/Makefile

    rb7e1458 r59b8639  
    3030BINARY = tmon
    3131
    32 LIBS =
     32LIBS = usbdiag
    3333
    3434SOURCES = \
  • uspace/app/tmon/main.c

    rb7e1458 r59b8639  
    3636
    3737#include <stdio.h>
     38#include <usb/diag/diag.h>
    3839
    3940#define NAME "tmon"
     
    5152        }
    5253
     54        printf("The number is %d.\n", usb_diag_test(0));
     55
    5356        return 0;
    5457}
Note: See TracChangeset for help on using the changeset viewer.