From 411d274229744533da4e930b9c50213f31dcdacd Mon Sep 17 00:00:00 2001 From: rob tillaart Date: Fri, 19 Jun 2020 14:35:20 +0200 Subject: [PATCH] fix library.json --- RunningAverage.cpp | 10 +++++----- RunningAverage.h | 9 ++++----- library.json | 7 ++----- library.properties | 2 +- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/RunningAverage.cpp b/RunningAverage.cpp index de667aa..769e6d0 100644 --- a/RunningAverage.cpp +++ b/RunningAverage.cpp @@ -1,9 +1,10 @@ // // FILE: RunningAverage.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.2.16 +// VERSION: 0.3.1 // DATE: 2015-July-10 -// PURPOSE: RunningAverage library for Arduino +// PURPOSE: Arduino library to calculate the running average by means of a circular buffer +// URL: https://github.com/RobTillaart/RunningAverage // // The library stores N individual values in a circular buffer, // to calculate the running average. @@ -31,9 +32,8 @@ // 0.2.14 - 2020-01-15 added getValue(n) to retrieve elements in order of addition - see issue #132 // 0.2.15 - 2020-01-17 fix overflow in getValue - see issue #139 // 0.2.16 2020-04-16 improve _sum - see issue #149 (bourkemcrobbo) -// -// Released to the public domain -// +// 0.3.0 2020-04-16 main refactor +// 0.3.1 2020-06-19 fix library.json; minor refactor #include "RunningAverage.h" diff --git a/RunningAverage.h b/RunningAverage.h index e4282fd..204b8da 100644 --- a/RunningAverage.h +++ b/RunningAverage.h @@ -2,17 +2,16 @@ // // FILE: RunningAverage.h // AUTHOR: Rob.Tillaart@gmail.com -// VERSION: 0.3.0 +// VERSION: 0.3.1 // DATE: 2016-dec-01 -// PURPOSE: RunningAverage library for Arduino +// PURPOSE: Arduino library to calculate the running average by means of a circular buffer // URL: https://github.com/RobTillaart/RunningAverage +// // HISTORY: See RunningAverage.cpp // -#define RUNNINGAVERAGE_LIB_VERSION "0.3.0" +#define RUNNINGAVERAGE_LIB_VERSION "0.3.1" -// #include -// #include #include "Arduino.h" class RunningAverage diff --git a/library.json b/library.json index 89eae39..8637a65 100644 --- a/library.json +++ b/library.json @@ -15,10 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/RunningAverage.git" }, - "version": "0.3.0", + "version": "0.3.1", "frameworks": "arduino", - "platforms": "*", - "export": { - "include": "RunningAverage" - } + "platforms": "*" } diff --git a/library.properties b/library.properties index a328622..7d0c4aa 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=RunningAverage -version=0.3.0 +version=0.3.1 author=Rob Tillaart maintainer=Rob Tillaart sentence=The library stores the last N individual values in a circular buffer to calculate the running average.