Skip to content

Commit 15ed0d5

Browse files
committed
2 parents b959adf + a72a1c6 commit 15ed0d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"license": "GPL-2.0-only",
2121
"dependencies": [
2222
{
23-
"name": "LIN-Interface",
24-
"version": "https://github.com/mestrode/LIN-Interface-Library.git"
23+
"name": "Lin-Interface",
24+
"version": "https://github.com/mestrode/LIN-Interface-Library"
2525
}
2626
]
27-
}
27+
}

src/TJA1020.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void Lin_TJA1020::setMode(TJA1020_Mode mode)
9292
// see "setMode(sleep)" in the switch below
9393
if (mode == _currentMode)
9494
{
95-
break;
95+
return;
9696
}
9797

9898
pinMode(_tx_pin, OUTPUT); // TX Signal to LIN Tranceiver

0 commit comments

Comments
 (0)