Changeset e53794c in mainline


Ignore:
Timestamp:
2016-12-10T12:49:09Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aed3e6a
Parents:
c4e30607
Message:

Consider the first device in the 'serial' category an output device

Location:
uspace/srv/hid/output
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/Makefile

    rc4e30607 re53794c  
    3030USPACE_PREFIX = ../../..
    3131BINARY = output
     32LIBS = $(LIBDRV_PREFIX)/libdrv.a
     33EXTRA_CFLAGS = -I$(LIBDRV_PREFIX)/include
    3234
    3335SOURCES = \
     
    3739        port/niagara.c \
    3840        port/ski.c \
     41        port/chardev.c \
    3942        proto/vt100.c \
    4043        output.c
  • uspace/srv/hid/output/output.c

    rc4e30607 re53794c  
    3838#include "port/niagara.h"
    3939#include "port/ski.h"
     40#include "port/chardev.h"
    4041#include "output.h"
    4142
     
    479480        niagara_init();
    480481        ski_init();
     482        chardev_init();
    481483       
    482484        printf("%s: Accepting connections\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.