diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2015-09-06 13:06:31 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2015-09-07 17:03:05 +0000 |
commit | 8ac3bbbbad1a806d4e64a73bc5f5d49937e67868 (patch) | |
tree | 2643f2b6030e09b26ef32c240a1d116ba2a7f2b4 /src/plugins/canbus/tinycan/tinycanbackend.cpp | |
parent | 7cb0710a4b3ac452e9aab37f12490e23afa37f90 (diff) |
Update the symbols header for the TinyCan plugin
We need to update the header, according to the latest API
version (v 401):
http://www.mhs-elektronik.de/index.php?module=download&action=list
Change-Id: I7a75d17d345e570819667865f260aa0938ed6fd0
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/canbus/tinycan/tinycanbackend.cpp')
-rw-r--r-- | src/plugins/canbus/tinycan/tinycanbackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/canbus/tinycan/tinycanbackend.cpp b/src/plugins/canbus/tinycan/tinycanbackend.cpp index e22d35b..e882a5e 100644 --- a/src/plugins/canbus/tinycan/tinycanbackend.cpp +++ b/src/plugins/canbus/tinycan/tinycanbackend.cpp @@ -112,7 +112,7 @@ static void DRV_CALLBACK_TYPE canRxEventCallback(quint32 index, TCanMsg *frame, TinyCanBackendPrivate::TinyCanBackendPrivate(TinyCanBackend *q) : q_ptr(q) , isOpen(false) - , channelIndex(-1) + , channelIndex(INDEX_INVALID) { startupDriver(); @@ -255,7 +255,7 @@ static int channelIndexFromName(const QString &interfaceName) else if (interfaceName == QStringLiteral("channelb")) return INDEX_CAN_KANAL_B; else - return -1; + return INDEX_INVALID; } void TinyCanBackendPrivate::setupChannel(const QString &interfaceName) |