X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/af57c1bbd277f15b633e77e430ce6240ba62746a..refs/heads/testing:/firmware/usbconfig.h diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index c266544..618d79b 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -5,7 +5,6 @@ * Tabsize: 4 * Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt) - * This Revision: $Id: usbconfig.h 799 2010-07-27 17:30:13Z cs $ */ #ifndef __usbconfig_h_included__ @@ -305,6 +304,15 @@ #define USB_CFG_DESCR_PROPS_HID_REPORT 0 #define USB_CFG_DESCR_PROPS_UNKNOWN 0 + +#define usbMsgPtr_t unsigned short +/* If usbMsgPtr_t is not defined, it defaults to 'uchar *'. We define it to + * a scalar type here because gcc generates slightly shorter code for scalar + * arithmetics than for pointer arithmetics. Remove this define for backward + * type compatibility or define it to an 8 bit type if you use data in RAM only + * and all RAM is below 256 bytes (tiny memory model in IAR CC). + */ + /* ----------------------- Optional MCU Description ------------------------ */ /* The following configurations have working defaults in usbdrv.h. You