1
0
Fork 0

Adhoc fix compile error of usb_usb

This commit is contained in:
tmk 2014-09-22 10:42:20 +09:00
parent b9e265368f
commit ea524d7bef
11 changed files with 27 additions and 10 deletions

View file

@ -35,7 +35,7 @@
// -std=c++0x
class __FlashStringHelper;
#define F(string_literal) (reinterpret_cast<__FlashStringHelper *>(PSTR(string_literal)))
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
// An inherited class for holding the result of a concatenation. These
// result objects are assumed to be writable by subsequent concatenations.

View file

@ -1,6 +1,7 @@
/*
* To keep Timer0 for common/timer.c override arduino/wiring.c.
*/
#define __DELAY_BACKWARD_COMPATIBLE__
#include <util/delay.h>
#include "common/timer.h"
#include "Arduino.h"

View file

@ -1,5 +1,3 @@
#include <cstring.h>
#include "parser.h"
#include "usb_hid.h"