summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" ||