Skip to content

Commit d97fec5

Browse files
author
camilo
committedNov 22, 2024·
small refactor to ffmath:inf/nan. Other minor doc fixes
1 parent 6958308 commit d97fec5

8 files changed

+85
-92
lines changed
 

‎doc/qpid.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
*
152152
* int main( int argc, char *argv[] )
153153
* {
154-
* pidController_t speedControl;
154+
* pidController speedControl;
155155
* bool ret;
156156
*
157157
* BSP_SystemInit();

‎library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"maintainer": true
1717
}
1818
],
19-
"version": "1.3.3",
19+
"version": "1.3.4",
2020
"license": "MIT",
2121
"frameworks": "arduino",
2222
"platforms": "*"

‎library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=qlibs
2-
version=1.3.3
2+
version=1.3.4
33
license=MIT
44
author=J. Camilo Gomez C. <kmilo17pet@gmail.com>
55
maintainer=J. Camilo Gomez C. <kmilo17pet@gmail.com>

‎src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required( VERSION 3.2 )
22
project( qlibs-cpp
3-
VERSION 1.3.3
3+
VERSION 1.3.4
44
DESCRIPTION "A collection of useful C++ libraries for embedded systems"
55
LANGUAGES CXX )
66

‎src/ffmath.cpp

+71-80
Large diffs are not rendered by default.

‎src/include/interp1.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ namespace qlibs {
3333
INTERP1_HERMITE, /*!< Piecewise cubic Hermite interpolation.*/
3434
INTERP1_SPLINE, /*!< Catmull spline interpolation.*/
3535
INTERP1_CONSTRAINED_SPLINE, /*!< A special kind of spline that doesn't overshoot.*/
36+
/*! @cond */
3637
INTERP1_MAX,
38+
/*! @endcond */
3739
};
3840

3941
/**

‎src/interp1.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bool interp1::setMethod( const interp1Method m ) noexcept
2020
&interp1::cSpline,
2121
};
2222

23-
if ( ( m >= 0 ) && ( m < INTERP1_MAX ) ) {
23+
if ( m < INTERP1_MAX ) {
2424
method = im[ m ];
2525
retValue = true;
2626
}

‎src/qlibs.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* @file qlibs.h
33
* @author J. Camilo Gomez C.
4-
* @version 1.3.3
4+
* @version 1.3.4
55
* @note This file is part of the qlibs++ distribution.
66
* @brief Global inclusion header
77
**/
@@ -41,8 +41,8 @@ This file is part of the QuarkTS++ OS distribution.
4141
#ifndef QLIBS_CPP_H
4242
#define QLIBS_CPP_H
4343

44-
#define QLIBS_CPP_VERSION "1.3.3"
45-
#define QLIBS_CPP_VERNUM ( 133 )
44+
#define QLIBS_CPP_VERSION "1.3.4"
45+
#define QLIBS_CPP_VERNUM ( 134 )
4646
#define QLIBS_CPP_CAPTION "qLibs++" QLIBS_CPP_VERSION
4747

4848
#include <include/qlibs_types.hpp>
@@ -62,7 +62,7 @@ This file is part of the QuarkTS++ OS distribution.
6262

6363
namespace qlibs {
6464
namespace build {
65-
constexpr const uint32_t number = 2363;
65+
constexpr const uint32_t number = 2374;
6666
constexpr const char* date = __DATE__;
6767
constexpr const char* time = __TIME__;
6868
constexpr const char* std = "c++11";
@@ -72,7 +72,7 @@ This file is part of the QuarkTS++ OS distribution.
7272
constexpr const uint8_t number = QLIBS_CPP_VERNUM;
7373
constexpr const uint8_t mayor = 1U;
7474
constexpr const uint8_t minor = 3U;
75-
constexpr const uint8_t rev = 3U;
75+
constexpr const uint8_t rev = 4U;
7676
}
7777
namespace product {
7878
constexpr const char* author = "J. Camilo Gomez C.";
@@ -81,9 +81,9 @@ This file is part of the QuarkTS++ OS distribution.
8181
constexpr const char* category = "Library";
8282
constexpr const char* caption = QLIBS_CPP_CAPTION;
8383
constexpr const char* compliance = "MISRAC++2008,SEI-CERT";
84-
constexpr const char* license = "MIT";
84+
constexpr const char* license = "CC-BY-4.0";
8585
constexpr const char* source_model = "Open Source";
8686
}
87-
};
87+
}
8888

8989
#endif /*QOS_CPP_H*/

0 commit comments

Comments
 (0)
Please sign in to comment.