Changeset f300523 in mainline for uspace/srv/hid/isdv4_tablet/isdv4.c


Ignore:
Timestamp:
2017-11-29T18:43:10Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39026d7c
Parents:
48b77ed
Message:

Eliminate uses of thread_usleep() in favor of async_usleep(). Obvious cases are in components that don't explicitly create threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/isdv4_tablet/isdv4.c

    r48b77ed rf300523  
    2727 */
    2828
     29#include <async.h>
    2930#include <errno.h>
    3031#include <io/chardev.h>
     
    3334#include <stdint.h>
    3435#include <stdlib.h>
    35 #include <thread.h>
    3636
    3737#include "isdv4.h"
     
    401401                return EIO;
    402402
    403         thread_usleep(250000); /* 250 ms */
     403        async_usleep(250000); /* 250 ms */
    404404
    405405        // FIXME: Read all possible garbage before sending commands
Note: See TracChangeset for help on using the changeset viewer.