1313 Development environment specifics:
1414 Arduino IDE 1.8.1
1515
16- This program is distributed in the hope that it will be useful,
17- but WITHOUT ANY WARRANTY; without even the implied warranty of
18- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19- GNU General Public License for more details.
16+ ==== MIT License ====
17+ Copyright © 2022 SparkFun Electronics
2018
21- You should have received a copy of the GNU General Public License
22- along with this program. If not, see <http://www.gnu.org/licenses/>.
19+ Permission is hereby granted, free of charge, to any person obtaining a copy of this
20+ software and associated documentation files (the “Software”), to deal in the Software without restriction,
21+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
22+ 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:
23+
24+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
25+
26+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
27+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
28+ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
29+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30+ =====================
2331*/
2432
2533#include < stdlib.h>
@@ -404,4 +412,4 @@ bool SFEVL53L1X::getThresholdConfig(DetectionConfig *config)
404412 config->thresholdHigh = temp16;
405413
406414 return true ;
407- }
415+ }
0 commit comments