edited SW

This commit is contained in:
Mario Hüttel 2018-04-06 18:14:12 +02:00
parent 1e05b6480e
commit e52dc45b03
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,7 @@ mode:
2: green
3: blue
4: off
5: white
IFNAME:
Interface name like "eth0" or "enp5s0"

View File

@ -345,7 +345,12 @@ sendbuf[tx_len++] = 0x00;
}
}
} else if (mode == 5) {
for (i = 0; i< 3*60; i++) {
sendbuf[tx_len++] = 0xff;
}
}
/* Index of the network device */
socket_address.sll_ifindex = if_idx.ifr_ifindex;