summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-08-25 20:22:24 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-08-25 20:22:24 +0200
commitcd7215571cedc15e21c6b78344a99559d4c79091 (patch)
treee1aa2ab6a1b16f44ca16f6c77a057fdc0ceb1816
parentb67d893eede40f4667119a91e84fde48f653dfe4 (diff)
downloadktechlab-cd7215571cedc15e21c6b78344a99559d4c79091.tar.gz
ktechlab-cd7215571cedc15e21c6b78344a99559d4c79091.zip
Fix FTBFS on Fedora 19
-rw-r--r--microbe/pic14.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microbe/pic14.cpp b/microbe/pic14.cpp
index fc92932..5c92ef3 100644
--- a/microbe/pic14.cpp
+++ b/microbe/pic14.cpp
@@ -277,7 +277,7 @@ bool PIC14::isValidTris( const TQString & trisName ) const
bool PIC14::isValidInterrupt( const TQString & interruptName ) const
{
- if(m_type == "P16F84" || m_type =="P16C84")
+ if(m_type == P16F84 || m_type == P16C84)
{
return ( interruptName == "change" ||
interruptName == "timer" ||