Skip to content

Commit a26fdea

Browse files
committed
Clean unused code
1 parent 27c7938 commit a26fdea

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/serial.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ static int serial_readable(serial_dev_t *s, int timeout)
7171
return (poll(&pollfd, 1, timeout) > 0) && (pollfd.revents & POLLIN);
7272
}
7373

74-
#define FREQ_NS ((int) (1.0e6))
75-
#define NS_PER_SEC ((int) (1.0e9))
76-
7774
/* global state to stop the loop of thread */
7875
static volatile bool thread_stop = false;
7976

0 commit comments

Comments
 (0)