From e84d12d9edc3ce3ddd56f4d251e8e253d7b7d64a Mon Sep 17 00:00:00 2001 From: Francois Best Date: Wed, 12 Oct 2016 19:18:29 +0200 Subject: [PATCH] Update license, renamed packet object. --- src/midi_UsbDefs.h | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/src/midi_UsbDefs.h b/src/midi_UsbDefs.h index 14aaeed..393ca35 100644 --- a/src/midi_UsbDefs.h +++ b/src/midi_UsbDefs.h @@ -1,24 +1,29 @@ /*! - * @file midi_USB.h + * @file midi_UsbDefs.h * Project Arduino MIDI Library - * @brief MIDI Library for the Arduino - USB - * @version 4.1 + * @brief MIDI Library for the Arduino - Definitions + * @version 4.2 * @author Francois Best * @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 - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * 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, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * 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 @@ -88,7 +93,7 @@ struct CodeIndexNumbers // ----------------------------------------------------------------------------- -struct UsbMidiEvent +struct UsbMidiEventPacket { union {