X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/7fa50af9596a7a9bd031279a2e5747d897de82f1..df52dc7ff3e88c32e8ba6e9136c3948dcf0f2dc4:/firmware/usbconfig.h diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index c266544..ae9eee6 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -305,6 +305,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