Adhoc fix compile error of usb_usb
This commit is contained in:
parent
b9e265368f
commit
ea524d7bef
11 changed files with 27 additions and 10 deletions
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include <cstring.h>
|
||||
|
||||
#include "parser.h"
|
||||
#include "usb_hid.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue