@@ -38,12 +38,7 @@ | |||
#if defined(__AVR__) | |||
#include "avr/xprintf.h" | |||
// TODO: avoid collision with arduino/Print.h | |||
#ifndef __cplusplus | |||
#define print(s) xputs(PSTR(s)) | |||
#endif | |||
#define println(s) xputs(PSTR(s "\r\n")) | |||
#ifdef __cplusplus |
@@ -42,7 +42,7 @@ SRC += $(USB_HID_DIR)/override_Serial.cpp | |||
# replace arduino/wiring.c | |||
SRC += $(USB_HID_DIR)/override_wiring.c | |||
SRC += common/timer.c | |||
SRC += common/avr/timer.c | |||
SRC += $(USB_HOST_SHIELD_SRC) | |||
SRC += $(ARDUINO_CORES_SRC) |