one-line change to make all GPIOs usable on the 80-pin 261x packages
[goodfet] / firmware / goodfet.c
index 4d791f8..39c8753 100644 (file)
@@ -75,6 +75,11 @@ void handle(unsigned char app,
   case AVR:
     avrhandle(app,verb,len);
     break;
+#ifdef INSTALL_PIC_APP
+  case PIC:
+    pichandle(app,verb,len);
+    break;
+#endif
   case I2CAPP:
     i2chandle(app,verb,len);
     break;
@@ -129,7 +134,7 @@ int main(void)
     app=serial_rx();
 
        // If the app is the reset byte (0x80) increment and loop
-       if (app == 0x80) {
+       if (app == RESET) {
                reset_count++;
 
                if (reset_count > 4) {