Browse Source

usb_usb: Update for new core layout

core
Jun Wako 9 years ago
parent
commit
3a5a865980
2 changed files with 1 additions and 6 deletions
  1. 0
    5
      common/print.h
  2. 1
    1
      protocol/usb_hid.mk

+ 0
- 5
common/print.h View File

@@ -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

+ 1
- 1
protocol/usb_hid.mk View File

@@ -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)