Skip to content
Snippets Groups Projects
Commit 30c2b620 authored by Dean Camera's avatar Dean Camera
Browse files

Remove obsolete macros and preprocessor checks from the AVRISP-MKII project's...

Remove obsolete macros and preprocessor checks from the AVRISP-MKII project's V2Protocol command handler header file.
parent 1d4ff369
Branches
Tags
No related merge requests found
......@@ -37,16 +37,13 @@
#define _V2_PROTOCOL_
/* Includes: */
#if !defined(__ASSEMBLER__)
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
#include "../Descriptors.h"
#include "V2ProtocolConstants.h"
#include "V2ProtocolParams.h"
#include "ISP/ISPProtocol.h"
#include "XPROG/XPROGProtocol.h"
#endif
/* Preprocessor Checks: */
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
......@@ -75,20 +72,11 @@
/** 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: */
#if !defined(__ASSEMBLER__)
extern uint32_t CurrentAddress;
extern bool MustLoadExtendedAddress;
#endif
/* Function Prototypes: */
#if !defined(__ASSEMBLER__)
void V2Protocol_Init(void);
void V2Protocol_ProcessCommand(void);
......@@ -99,7 +87,6 @@
static void V2Protocol_ResetProtection(void);
static void V2Protocol_LoadAddress(void);
#endif
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment