Update license, renamed packet object.

This commit is contained in:
Francois Best 2016-10-12 19:18:29 +02:00 committed by GitHub
parent 63e8e515ad
commit e84d12d9ed
1 changed files with 20 additions and 15 deletions

View File

@ -1,24 +1,29 @@
/*! /*!
* @file midi_USB.h * @file midi_UsbDefs.h
* Project Arduino MIDI Library * Project Arduino MIDI Library
* @brief MIDI Library for the Arduino - USB * @brief MIDI Library for the Arduino - Definitions
* @version 4.1 * @version 4.2
* @author Francois Best * @author Francois Best
* @date 24/02/11 * @date 24/02/11
* @license GPL v3.0 - Copyright Forty Seven Effects 2014 * @license MIT - Copyright (c) 2016 Francois Best
* *
* This program is free software: you can redistribute it and/or modify * Permission is hereby granted, free of charge, to any person obtaining a copy
* it under the terms of the GNU General Public License as published by * of this software and associated documentation files (the "Software"), to deal
* the Free Software Foundation, either version 3 of the License, or * in the Software without restriction, including without limitation the rights
* (at your option) any later version. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* This program is distributed in the hope that it will be useful, * The above copyright notice and this permission notice shall be included in
* but WITHOUT ANY WARRANTY; without even the implied warranty of * all copies or substantial portions of the Software.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* along with this program. If not, see <http://www.gnu.org/licenses/>. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/ */
#pragma once #pragma once
@ -88,7 +93,7 @@ struct CodeIndexNumbers
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
struct UsbMidiEvent struct UsbMidiEventPacket
{ {
union union
{ {