diff --git a/libraries/AP_ADC/AP_ADC.cpp b/libraries/AP_ADC/AP_ADC.cpp index 2e249462fc..548dc64c9e 100644 --- a/libraries/AP_ADC/AP_ADC.cpp +++ b/libraries/AP_ADC/AP_ADC.cpp @@ -1,11 +1,21 @@ +/* + 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. + + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ /* * ADC.cpp - Analog Digital Converter Base Class for Ardupilot Mega * Code by James Goppert. DIYDrones.com * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. */ #include "AP_ADC.h" diff --git a/libraries/AP_ADC/AP_ADC_ADS7844.cpp b/libraries/AP_ADC/AP_ADC_ADS7844.cpp index df950f56bf..e798cb05fe 100644 --- a/libraries/AP_ADC/AP_ADC_ADS7844.cpp +++ b/libraries/AP_ADC/AP_ADC_ADS7844.cpp @@ -1,4 +1,19 @@ /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- +/* + 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. + + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + /* * AP_ADC_ADS7844.cpp - ADC ADS7844 Library for Ardupilot Mega * Code by Jordi Mu�oz and Jose Julio. DIYDrones.com @@ -8,12 +23,6 @@ * only an issue on initial read of ADC at program start. * 2)Reorder analog read order as follows: * p, q, r, ax, ay, az - * - * This library is free software; you can redistribute it and / or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * * External ADC ADS7844 is connected via Serial port 2 (in SPI mode) * TXD2 = MOSI = pin PH1 * RXD2 = MISO = pin PH0 diff --git a/libraries/AP_ADC/AP_ADC_HIL.cpp b/libraries/AP_ADC/AP_ADC_HIL.cpp index 313c8eb1c5..425f1cfabb 100644 --- a/libraries/AP_ADC/AP_ADC_HIL.cpp +++ b/libraries/AP_ADC/AP_ADC_HIL.cpp @@ -2,16 +2,24 @@ #include "AP_ADC_HIL.h" #include extern const AP_HAL::HAL& hal; +/* + 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. + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ /* * AP_ADC_HIL.cpp * Author: James Goppert * - * License: - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. */ const uint8_t AP_ADC_HIL::sensors[6] = {1,2,0,4,5,6};