Skip to content

Commit 2e3e539

Browse files
committed
Added license to USBAPI.h
Close #1847
1 parent 69e3764 commit 2e3e539

File tree

2 files changed

+32
-23
lines changed

2 files changed

+32
-23
lines changed

Diff for: hardware/arduino/avr/cores/arduino/Platform.h

-23
This file was deleted.

Diff for: hardware/arduino/avr/cores/arduino/USBAPI.h

+32
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,42 @@
1+
/*
2+
USBAPI.h
3+
Copyright (c) 2005-2014 Arduino. All right reserved.
14
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
219

320
#ifndef __USBAPI__
421
#define __USBAPI__
522

23+
#include <inttypes.h>
24+
#include <avr/pgmspace.h>
25+
#include <avr/eeprom.h>
26+
#include <avr/interrupt.h>
27+
#include <util/delay.h>
28+
29+
typedef unsigned char u8;
30+
typedef unsigned short u16;
31+
typedef unsigned long u32;
32+
33+
#include "Arduino.h"
34+
635
#if defined(USBCON)
736

37+
#include "USBDesc.h"
38+
#include "USBCore.h"
39+
840
//================================================================================
941
//================================================================================
1042
// USB

0 commit comments

Comments
 (0)