usb: Move LOW_BYTE and HIGH_BYTE to samples code

Move LOW_BYTE and HIGH_BYTE macros from usb_common.h to
samples code.

Change-Id: I26296bde8c5b3991b3bfab71272c861b5360ce97
Signed-off-by: Adrian Bradianu <adrian.bradianu@windriver.com>
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
This commit is contained in:
Adrian Bradianu 2016-06-14 19:29:07 +03:00 committed by Inaky Perez-Gonzalez
commit ab2c18b0ad
3 changed files with 8 additions and 4 deletions

View file

@ -78,10 +78,6 @@
*/
#define USB_CONFIGURATION_ATTRIBUTES 0xC0
/* Misc. macros */
#define LOW_BYTE(x) ((x)&0xFF)
#define HIGH_BYTE(x) ((x)>>8)
/* Classes */
#define COMMUNICATION_DEVICE_CLASS 0x02
#define COMMUNICATION_DEVICE_CLASS_DATA 0x0A