*drive-thru whale blasts off into space, playing a tune*
This commit is contained in:
parent
ae825ad58d
commit
69d2c9495b
1 changed files with 5 additions and 5 deletions
|
@ -388,11 +388,6 @@ int main(int argc, char **argv) {
|
||||||
.tv_usec = 0
|
.tv_usec = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
struct timeval timeout = {
|
|
||||||
.tv_sec = 0,
|
|
||||||
.tv_usec = 250000
|
|
||||||
};
|
|
||||||
|
|
||||||
cairo_t *fg, *bg;
|
cairo_t *fg, *bg;
|
||||||
|
|
||||||
if ((can_if = hexagram_can_if_open("vcan0")) == NULL)
|
if ((can_if = hexagram_can_if_open("vcan0")) == NULL)
|
||||||
|
@ -433,6 +428,11 @@ int main(int argc, char **argv) {
|
||||||
FD_SET(fd2, &rfds);
|
FD_SET(fd2, &rfds);
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
struct timeval timeout = {
|
||||||
|
.tv_sec = 0,
|
||||||
|
.tv_usec = 250000
|
||||||
|
};
|
||||||
|
|
||||||
int pending;
|
int pending;
|
||||||
|
|
||||||
(void)gettimeofday(&now, NULL);
|
(void)gettimeofday(&now, NULL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue