Small fixes in the HID.cpp for sam