Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
This commit is contained in:
parent
ce46257ff2
commit
c9148f9b47
15 changed files with 102 additions and 17 deletions
|
@ -72,6 +72,12 @@
|
|||
|
||||
/** MUX mask for the VTARGET ADC channel number */
|
||||
#define VTARGET_ADC_CHANNEL_MASK _GETADCMUXMASK(ADC_CHANNEL, VTARGET_ADC_CHANNEL)
|
||||
|
||||
#if !defined(WIN_AVRDUDE_COMPAT)
|
||||
#define SELECT_DATA_OUT_ENDPOINT() Endpoint_SetEndpointDirection(ENDPOINT_DIR_OUT);
|
||||
#else
|
||||
#define SELECT_DATA_OUT_ENDPOINT() Endpoint_SelectEndpoint();
|
||||
#endif
|
||||
|
||||
/* External Variables: */
|
||||
extern uint32_t CurrentAddress;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue