summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 19:55:51 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 19:55:51 +0100
commite10aba703d009f8d24c250f2fa765cf2b3ff8a8a (patch)
tree6563cb7a9bb018d0d0b8fdbf76db3ff37719664f /src
parent58c803fd5a25d3a6ec4ec194c7fc942842e2491d (diff)
SerialUsb: bugfix, what a typo
Diffstat (limited to 'src')
-rw-r--r--src/SerialUsb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SerialUsb.cpp b/src/SerialUsb.cpp
index 7c8d721..023280b 100644
--- a/src/SerialUsb.cpp
+++ b/src/SerialUsb.cpp
@@ -249,7 +249,7 @@ struct SerialUsbPrivate
void
modprobe()
{
- if(dev_vid=0x0fcf && (dev_pid==0x1008 || dev_pid==0x1009))
+ if((dev_vid==0x0fcf) && (dev_pid==0x1008 || dev_pid==0x1009))
return;
// ffff8800364a8300 962108826 S Co:3:001:0 s 23 03 0004 0001 0000 0
@@ -295,7 +295,7 @@ struct SerialUsbPrivate
void
open_tty()
{
- if(dev_vid=0x0fcf && (dev_pid==0x1008 || dev_pid==0x1009))
+ if((dev_vid==0x0fcf) && (dev_pid==0x1008 || dev_pid==0x1009))
return;
}