We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c7938 commit a26fdeaCopy full SHA for a26fdea
src/serial.c
@@ -71,9 +71,6 @@ static int serial_readable(serial_dev_t *s, int timeout)
71
return (poll(&pollfd, 1, timeout) > 0) && (pollfd.revents & POLLIN);
72
}
73
74
-#define FREQ_NS ((int) (1.0e6))
75
-#define NS_PER_SEC ((int) (1.0e9))
76
-
77
/* global state to stop the loop of thread */
78
static volatile bool thread_stop = false;
79
0 commit comments