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:
parent
88656ec981
commit
ab2c18b0ad
3 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue