diff --git a/examples/HID/scale/scale_rptparser.cpp b/examples/HID/scale/scale_rptparser.cpp index 01ed980c..f88d21ac 100644 --- a/examples/HID/scale/scale_rptparser.cpp +++ b/examples/HID/scale/scale_rptparser.cpp @@ -1,4 +1,5 @@ /* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ +#include #include "scale_rptparser.h" const char* UNITS[13] = { diff --git a/examples/adk/adk_barcode/adk_barcode.ino b/examples/adk/adk_barcode/adk_barcode.ino index a308ff0f..04c8d258 100644 --- a/examples/adk/adk_barcode/adk_barcode.ino +++ b/examples/adk/adk_barcode/adk_barcode.ino @@ -14,7 +14,7 @@ USB Usb; USBHub Hub1(&Usb); USBHub Hub2(&Usb); -HIDBoot Keyboard(&Usb); +HIDBoot HidKeyboard(&Usb); ADK adk(&Usb,"Circuits@Home, ltd.", "USB Host Shield", @@ -80,7 +80,7 @@ void setup() while(1); //halt }//if (Usb.Init() == -1... - Keyboard.SetReportParser(0, (HIDReportParser*)&Prs); + HidKeyboard.SetReportParser(0, (HIDReportParser*)&Prs); delay( 200 ); }