diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-08-27 20:36:50 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-08-30 02:55:35 +0200 |
commit | 9e91058ed926841d3152f888b8b87633b8ccc4f8 (patch) | |
tree | a6dd007fa6ffe1338bd611babdb3fbb3ab8715b9 /ddc-ci.c | |
parent | fbc7454647d874cfc4603eea50c9576b12e3068e (diff) | |
download | desktop-tools-9e91058ed926841d3152f888b8b87633b8ccc4f8.tar.gz desktop-tools-9e91058ed926841d3152f888b8b87633b8ccc4f8.tar.xz desktop-tools-9e91058ed926841d3152f888b8b87633b8ccc4f8.zip |
Add elksmart-comm for transceiving infrared codesHEADorigin/mastermaster
The receive functionality is quite unstable,
however useful enough for something that is officially unsupported.
The gadget is picky about cables,
but it has ridiculous reach when it works.
Diffstat (limited to 'ddc-ci.c')
-rw-r--r-- | ddc-ci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ log_message_custom (void *user_data, const char *quote, const char *fmt, static void wait_ms (long ms) { - struct timespec ts = { 0, ms * 1000 * 1000 }; + struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; nanosleep (&ts, NULL); } |