diff --git a/examples/Bluetooth/BTHID/BTHID.ino b/examples/Bluetooth/BTHID/BTHID.ino index fcfd686a..a548e613 100644 --- a/examples/Bluetooth/BTHID/BTHID.ino +++ b/examples/Bluetooth/BTHID/BTHID.ino @@ -8,8 +8,9 @@ #include #include "KeyboardParser.h" #include "MouseParser.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/PS3BT/PS3BT.ino b/examples/Bluetooth/PS3BT/PS3BT.ino index 982eb384..769536f4 100644 --- a/examples/Bluetooth/PS3BT/PS3BT.ino +++ b/examples/Bluetooth/PS3BT/PS3BT.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/PS3Multi/PS3Multi.ino b/examples/Bluetooth/PS3Multi/PS3Multi.ino index 23e8cd9a..074145d4 100644 --- a/examples/Bluetooth/PS3Multi/PS3Multi.ino +++ b/examples/Bluetooth/PS3Multi/PS3Multi.ino @@ -7,8 +7,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/PS3SPP/PS3SPP.ino b/examples/Bluetooth/PS3SPP/PS3SPP.ino index 440ea79e..9023f2ad 100644 --- a/examples/Bluetooth/PS3SPP/PS3SPP.ino +++ b/examples/Bluetooth/PS3SPP/PS3SPP.ino @@ -12,8 +12,9 @@ #include #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/PS4BT/PS4BT.ino b/examples/Bluetooth/PS4BT/PS4BT.ino index e47cfae0..492fc791 100644 --- a/examples/Bluetooth/PS4BT/PS4BT.ino +++ b/examples/Bluetooth/PS4BT/PS4BT.ino @@ -7,8 +7,8 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/SPP/SPP.ino b/examples/Bluetooth/SPP/SPP.ino index d8276b7b..4436349c 100644 --- a/examples/Bluetooth/SPP/SPP.ino +++ b/examples/Bluetooth/SPP/SPP.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/SPPMulti/SPPMulti.ino b/examples/Bluetooth/SPPMulti/SPPMulti.ino index 0304257e..73d4bc46 100644 --- a/examples/Bluetooth/SPPMulti/SPPMulti.ino +++ b/examples/Bluetooth/SPPMulti/SPPMulti.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statement in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/Wii/Wii.ino b/examples/Bluetooth/Wii/Wii.ino index f4d68a62..18051dde 100644 --- a/examples/Bluetooth/Wii/Wii.ino +++ b/examples/Bluetooth/Wii/Wii.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino index e7ca456b..f1326bf7 100644 --- a/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino +++ b/examples/Bluetooth/WiiIRCamera/WiiIRCamera.ino @@ -13,8 +13,9 @@ Otherwise, wire up a IR LED yourself. #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/WiiMulti/WiiMulti.ino b/examples/Bluetooth/WiiMulti/WiiMulti.ino index 08444f10..0e81d20d 100644 --- a/examples/Bluetooth/WiiMulti/WiiMulti.ino +++ b/examples/Bluetooth/WiiMulti/WiiMulti.ino @@ -7,8 +7,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Bluetooth/WiiUProController/WiiUProController.ino b/examples/Bluetooth/WiiUProController/WiiUProController.ino index 59c4f1dc..36bbfbdb 100644 --- a/examples/Bluetooth/WiiUProController/WiiUProController.ino +++ b/examples/Bluetooth/WiiUProController/WiiUProController.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino b/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino index b5944f0a..8d945dac 100644 --- a/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino +++ b/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino @@ -1,7 +1,8 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/HID/USBHIDBootKbdAndMouse/USBHIDBootKbdAndMouse.ino b/examples/HID/USBHIDBootKbdAndMouse/USBHIDBootKbdAndMouse.ino index 92dc226b..f3ccdc7d 100644 --- a/examples/HID/USBHIDBootKbdAndMouse/USBHIDBootKbdAndMouse.ino +++ b/examples/HID/USBHIDBootKbdAndMouse/USBHIDBootKbdAndMouse.ino @@ -1,6 +1,11 @@ #include #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + class MouseRptParser : public MouseReportParser { protected: diff --git a/examples/HID/USBHIDBootMouse/USBHIDBootMouse.ino b/examples/HID/USBHIDBootMouse/USBHIDBootMouse.ino index aa2e3b34..bddd960d 100644 --- a/examples/HID/USBHIDBootMouse/USBHIDBootMouse.ino +++ b/examples/HID/USBHIDBootMouse/USBHIDBootMouse.ino @@ -1,7 +1,8 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/HID/USBHIDJoystick/USBHIDJoystick.ino b/examples/HID/USBHIDJoystick/USBHIDJoystick.ino index d0106e1a..940ac795 100644 --- a/examples/HID/USBHIDJoystick/USBHIDJoystick.ino +++ b/examples/HID/USBHIDJoystick/USBHIDJoystick.ino @@ -4,6 +4,11 @@ #include "hidjoystickrptparser.h" +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; USBHub Hub(&Usb); HIDUniversal Hid(&Usb); diff --git a/examples/HID/USBHID_desc/USBHID_desc.ino b/examples/HID/USBHID_desc/USBHID_desc.ino index 806936f9..ec08f01e 100644 --- a/examples/HID/USBHID_desc/USBHID_desc.ino +++ b/examples/HID/USBHID_desc/USBHID_desc.ino @@ -3,8 +3,9 @@ #include #include #include "pgmstrings.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/HID/le3dp/le3dp.ino b/examples/HID/le3dp/le3dp.ino index fbf07b2f..878f3471 100644 --- a/examples/HID/le3dp/le3dp.ino +++ b/examples/HID/le3dp/le3dp.ino @@ -5,8 +5,9 @@ #include #include "le3dp_rptparser.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/HID/scale/scale.ino b/examples/HID/scale/scale.ino index c790cb1c..20b96fa9 100644 --- a/examples/HID/scale/scale.ino +++ b/examples/HID/scale/scale.ino @@ -6,8 +6,9 @@ #include #include "scale_rptparser.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/PS3USB/PS3USB.ino b/examples/PS3USB/PS3USB.ino index 2db3afd5..b9b42c30 100644 --- a/examples/PS3USB/PS3USB.ino +++ b/examples/PS3USB/PS3USB.ino @@ -5,8 +5,9 @@ */ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/PS4USB/PS4USB.ino b/examples/PS4USB/PS4USB.ino index b3a2436b..7ab0f6ca 100644 --- a/examples/PS4USB/PS4USB.ino +++ b/examples/PS4USB/PS4USB.ino @@ -6,8 +6,8 @@ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/PSBuzz/PSBuzz.ino b/examples/PSBuzz/PSBuzz.ino index 6944cb6b..5f2e538e 100644 --- a/examples/PSBuzz/PSBuzz.ino +++ b/examples/PSBuzz/PSBuzz.ino @@ -6,8 +6,8 @@ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/USB_desc/USB_desc.ino b/examples/USB_desc/USB_desc.ino index b0013914..ae5430f3 100644 --- a/examples/USB_desc/USB_desc.ino +++ b/examples/USB_desc/USB_desc.ino @@ -1,8 +1,9 @@ #include #include "pgmstrings.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Xbox/XBOXOLD/XBOXOLD.ino b/examples/Xbox/XBOXOLD/XBOXOLD.ino index 968c8df7..c41fc7cc 100644 --- a/examples/Xbox/XBOXOLD/XBOXOLD.ino +++ b/examples/Xbox/XBOXOLD/XBOXOLD.ino @@ -6,8 +6,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Xbox/XBOXRECV/XBOXRECV.ino b/examples/Xbox/XBOXRECV/XBOXRECV.ino index 1f43b912..37d11c21 100644 --- a/examples/Xbox/XBOXRECV/XBOXRECV.ino +++ b/examples/Xbox/XBOXRECV/XBOXRECV.ino @@ -6,8 +6,9 @@ */ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/Xbox/XBOXUSB/XBOXUSB.ino b/examples/Xbox/XBOXUSB/XBOXUSB.ino index 89161d24..3c303f0a 100644 --- a/examples/Xbox/XBOXUSB/XBOXUSB.ino +++ b/examples/Xbox/XBOXUSB/XBOXUSB.ino @@ -5,8 +5,9 @@ */ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/acm/acm_terminal/acm_terminal.ino b/examples/acm/acm_terminal/acm_terminal.ino index 5e4d152c..c68e1a7c 100644 --- a/examples/acm/acm_terminal/acm_terminal.ino +++ b/examples/acm/acm_terminal/acm_terminal.ino @@ -3,8 +3,8 @@ #include "pgmstrings.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino b/examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino index dc6ab92c..a7e3db7e 100644 --- a/examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino +++ b/examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino @@ -2,6 +2,11 @@ // The code for the Android application is heavily based on this guide: http://allaboutee.com/2011/12/31/arduino-adk-board-blink-an-led-with-your-phone-code-and-explanation/ by Miguel #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; ADK adk(&Usb, "TKJElectronics", // Manufacturer Name "ArduinoBlinkLED", // Model Name diff --git a/examples/adk/adk_barcode/adk_barcode.ino b/examples/adk/adk_barcode/adk_barcode.ino index b410572a..a6c93680 100644 --- a/examples/adk/adk_barcode/adk_barcode.ino +++ b/examples/adk/adk_barcode/adk_barcode.ino @@ -5,6 +5,11 @@ #include #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; USBHub Hub1(&Usb); USBHub Hub2(&Usb); diff --git a/examples/adk/demokit_20/demokit_20.ino b/examples/adk/demokit_20/demokit_20.ino index 87662297..f26d9ef2 100644 --- a/examples/adk/demokit_20/demokit_20.ino +++ b/examples/adk/demokit_20/demokit_20.ino @@ -1,6 +1,11 @@ #include #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; USBHub hub0(&Usb); USBHub hub1(&Usb); diff --git a/examples/adk/term_test/term_test.ino b/examples/adk/term_test/term_test.ino index dea6533f..948ab795 100644 --- a/examples/adk/term_test/term_test.ino +++ b/examples/adk/term_test/term_test.ino @@ -1,6 +1,11 @@ #include #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; //USBHub Hub(&Usb); diff --git a/examples/adk/term_time/term_time.ino b/examples/adk/term_time/term_time.ino index 39fe3a49..fbdc774f 100644 --- a/examples/adk/term_time/term_time.ino +++ b/examples/adk/term_time/term_time.ino @@ -1,6 +1,11 @@ #include #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; ADK adk(&Usb,"Circuits@Home, ltd.", diff --git a/examples/board_qc/board_qc.ino b/examples/board_qc/board_qc.ino index 94df16cf..3fcf9251 100644 --- a/examples/board_qc/board_qc.ino +++ b/examples/board_qc/board_qc.ino @@ -4,8 +4,9 @@ /* otherwise press any key after getting GPIO error to complete the test */ /**/ #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino b/examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino index 26b5624d..2424f8ee 100644 --- a/examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino +++ b/examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino @@ -2,8 +2,9 @@ #include #include "pgmstrings.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/hub_demo/hub_demo.ino b/examples/hub_demo/hub_demo.ino index 329c6230..3109ef32 100644 --- a/examples/hub_demo/hub_demo.ino +++ b/examples/hub_demo/hub_demo.ino @@ -1,7 +1,8 @@ #include #include "pgmstrings.h" -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/max_LCD/max_LCD.ino b/examples/max_LCD/max_LCD.ino index f60ed4d5..b92ede9b 100644 --- a/examples/max_LCD/max_LCD.ino +++ b/examples/max_LCD/max_LCD.ino @@ -5,6 +5,11 @@ #include +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include +#include +#endif + USB Usb; Max_LCD lcd(&Usb); diff --git a/examples/pl2303/pl2303_gprs_terminal/pl2303_gprs_terminal.ino b/examples/pl2303/pl2303_gprs_terminal/pl2303_gprs_terminal.ino index 4770809d..4b19a1a9 100644 --- a/examples/pl2303/pl2303_gprs_terminal/pl2303_gprs_terminal.ino +++ b/examples/pl2303/pl2303_gprs_terminal/pl2303_gprs_terminal.ino @@ -4,8 +4,9 @@ /* CDC support */ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/pl2303/pl2303_gps/pl2303_gps.ino b/examples/pl2303/pl2303_gps/pl2303_gps.ino index 908763c4..5831326b 100644 --- a/examples/pl2303/pl2303_gps/pl2303_gps.ino +++ b/examples/pl2303/pl2303_gps/pl2303_gps.ino @@ -5,8 +5,9 @@ /* CDC support */ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/pl2303/pl2303_tinygps/pl2303_tinygps.ino b/examples/pl2303/pl2303_tinygps/pl2303_tinygps.ino index db25e42a..536734e9 100644 --- a/examples/pl2303/pl2303_tinygps/pl2303_tinygps.ino +++ b/examples/pl2303/pl2303_tinygps/pl2303_tinygps.ino @@ -11,8 +11,9 @@ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/pl2303/pl2303_xbee_terminal/pl2303_xbee_terminal.ino b/examples/pl2303/pl2303_xbee_terminal/pl2303_xbee_terminal.ino index 9e17d3cf..c8053821 100644 --- a/examples/pl2303/pl2303_xbee_terminal/pl2303_xbee_terminal.ino +++ b/examples/pl2303/pl2303_xbee_terminal/pl2303_xbee_terminal.ino @@ -5,8 +5,9 @@ /* CDC support */ #include #include -// Satisfy IDE, which only needs to see the include statment in the ino. -#ifdef dobogusinclude + +#ifdef dobogusinclude // Satisfy the IDE, which needs to see the include statment in the ino too. +#include #include #endif diff --git a/examples/testusbhostFAT/testusbhostFAT.ino b/examples/testusbhostFAT/testusbhostFAT.ino old mode 100755 new mode 100644 index 70107963..987e0a50 --- a/examples/testusbhostFAT/testusbhostFAT.ino +++ b/examples/testusbhostFAT/testusbhostFAT.ino @@ -59,6 +59,7 @@ #if WANT_HUB_TEST #include #endif +#include #include #include #include