Compare commits

..

No commits in common. "45bad91ba7af5f86abceb05a11a002f9a6006ae9" and "4dbf6d4d3d3142230cebc53eca1320508524d32b" have entirely different histories.

View File

@ -120,8 +120,6 @@ void read_can(Tel *t, int soc) {
if (nbytes < 0) return; // -1 EAGAIN means empty
if (nbytes != sizeof(struct can_frame)) return;
if (nbytes > 0) {
switch (frame.can_id) {
@ -524,7 +522,6 @@ int main(int argc, char **argv) {
uart_str.c_cflag &= ~CSIZE; // clear bit size
uart_str.c_cflag |= (CLOCAL | CREAD | CS8);
uart_str.c_cflag &= ~PARENB;
cfsetispeed(&uart_str, B115200);
cfsetospeed(&uart_str, B115200);