rawhid: fixed wrong pjrc api usage
In case there is no fitting device and interface found,
the code broke. This has been fixed as well as some
other small things which should have never worked at all.
This class still needs help.
pjrc_rawhid: complete rewrite of the linux version using libusb-1.0
This was necessary because libusb-0.1 is not thread safe but is being
used from two worker threads in gcs.
pjrc_rawhid: fixed some warnings because of unused variables
Merge branch 'next' of git://github.com/PhoenixPilot/PhoenixPilot into rawhid_rewrite
Merge branch 'next' of git://github.com/PhoenixPilot/PhoenixPilot into rawhid_rewrite
packaging: change libusb-0.1 dependency to libusb-1.0
pjrc_rawhid: fixed indent style as well as license header
Merge branch 'next' of git://github.com/PhoenixPilot/PhoenixPilot into rawhid_rewrite
Fixed whitespace in systemalarms.xml.
WIP: Currently hammers alarms.
Fixed situation by which alarm error codes were hammering the CPU. Also,
 AccessoryDesiredInstSet no longer triggers alarms on failure.
Added missing error code reset.
Created single function for setting both alarms and error codes.
Rich alarms WIP: fixed compile bugs for manualcontrol.c
Finished changes requested in review.

Changes are untested.
Added missing error code case.
Changed function types to be enum, instead of uint8_t.

Changed one sanity check to exclude coptercontrol from checking if a module is running.
Added missing enum types.
Fix compile-time error in altitude hold module.
A cast to (uint8_t *) was required for compiling simulators.