Changeset 582a0b8 in mainline for uspace/srv/hid/input
- Timestamp:
- 2017-05-08T19:20:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c8533
- Parents:
- 73db198
- Location:
- uspace/srv/hid/input
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
r73db198 r582a0b8 44 44 #include <config.h> 45 45 #include <stdio.h> 46 #include <unistd.h>47 46 #include <stdlib.h> 48 47 #include <ns.h> -
uspace/srv/hid/input/port/niagara.c
r73db198 r582a0b8 135 135 while (1) { 136 136 niagara_key_pressed(); 137 usleep(POLL_INTERVAL);137 thread_usleep(POLL_INTERVAL); 138 138 } 139 139 } -
uspace/srv/hid/input/port/ski.c
r73db198 r582a0b8 37 37 38 38 #include <stdlib.h> 39 #include <unistd.h>40 39 #include <sys/types.h> 41 40 #include <thread.h> … … 97 96 } 98 97 99 usleep(POLL_INTERVAL);98 thread_usleep(POLL_INTERVAL); 100 99 } 101 100 }
Note:
See TracChangeset
for help on using the changeset viewer.