Previous versions of PBP didn't have the UCFG register defined in the include files. And usbdemo was written at that time.
PBP 2.50 does have the UCFG register, so defining it in the main program causes a "re-definition" error.
Just comment out the UCFG var byte EXT line and the error should go away.
hth,





Bookmarks