Skip to content

Commit e4f58c3

Browse files
author
camilo
committed
sa rev again
1 parent cb2ad4b commit e4f58c3

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

include/qffmath.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern "C" {
5858
*/
5959

6060
/*! @cond */
61-
float _qFFMath_GetAbnormal( const int i );
61+
float _qFFMath_GetAbnormal( const int i ); //skipcq: CXX-E2000
6262
/*! @endcond */
6363

6464
/** @brief The base of natural logarithms ( e ) given as a single-precision floating-point number*/

include/qfis.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extern "C" {
5555
tsmf, /*!< Tsukamoto S-Shape membership function f(a,b) [ Only for ::Tsukamoto FIS ]*/
5656
tzmf, /*!< Tsukamoto Z-Shape membership function f(a,b) [ Only for ::Tsukamoto FIS ]*/
5757
/*! @cond */
58-
_NUM_MFS /*!< Number of supported membership functions*/
58+
_NUM_MFS /*!< Number of supported membership functions*/ //skipcq: CXX-E2000
5959
/*! @endcond */
6060
} qFIS_MF_Name_t;
6161

@@ -71,7 +71,7 @@ extern "C" {
7171
wtaver, /*!< Weighted average of all rule outputs [ Only for ::Sugeno and ::Tsukamoto FIS ]*/
7272
wtsum, /*!< Weighted sum of all rule outputs [ Only for ::Sugeno FIS ]*/
7373
/*! @cond */
74-
_NUM_DFUZZ /*!< Number of supported defuzzification methods*/
74+
_NUM_DFUZZ /*!< Number of supported defuzzification methods*/ //skipcq: CXX-E2000
7575
/*! @endcond */
7676
} qFIS_DeFuzz_Method_t;
7777

@@ -226,7 +226,7 @@ extern "C" {
226226
* @details The instance should be initialized using the qFIS_Setup() API.
227227
* @note Do not access any member of this structure directly.
228228
*/
229-
typedef struct _qFIS_s
229+
typedef struct _qFIS_s //skipcq: CXX-E2000
230230
{
231231
/*! @cond */
232232
qFIS_Input_t *input;
@@ -254,18 +254,18 @@ extern "C" {
254254
} qFIS_t;
255255

256256
/*! @cond */
257-
#define _QFIS_RULES_END ( FIS_RULES_MIN_VALUE + 1 )
258-
#define _QFIS_AND ( FIS_RULES_MIN_VALUE + 2 )
259-
#define _QFIS_OR ( FIS_RULES_MIN_VALUE + 3 )
260-
#define _QFIS_THEN ( FIS_RULES_MIN_VALUE + 4 )
261-
262-
#define _QFIS_IF_STATEMENT ,
263-
#define _QFIS_AND_STATEMENT +1),_QFIS_AND,
264-
#define _QFIS_OR_STATEMENT +1),_QFIS_OR,
265-
#define _QFIS_THEN_STATEMENT +1),_QFIS_THEN,
266-
#define _QFIS_IS_STATEMENT ,(
267-
#define _QFIS_IS_NOT_STATEMENT ,-(
268-
#define _QFIS_END_STATEMENT +1)
257+
#define _QFIS_RULES_END ( FIS_RULES_MIN_VALUE + 1 ) //skipcq: CXX-E2000
258+
#define _QFIS_AND ( FIS_RULES_MIN_VALUE + 2 ) //skipcq: CXX-E2000
259+
#define _QFIS_OR ( FIS_RULES_MIN_VALUE + 3 ) //skipcq: CXX-E2000
260+
#define _QFIS_THEN ( FIS_RULES_MIN_VALUE + 4 ) //skipcq: CXX-E2000
261+
262+
#define _QFIS_IF_STATEMENT , //skipcq: CXX-E2000
263+
#define _QFIS_AND_STATEMENT +1),_QFIS_AND, //skipcq: CXX-E2000
264+
#define _QFIS_OR_STATEMENT +1),_QFIS_OR, //skipcq: CXX-E2000
265+
#define _QFIS_THEN_STATEMENT +1),_QFIS_THEN, //skipcq: CXX-E2000
266+
#define _QFIS_IS_STATEMENT ,( //skipcq: CXX-E2000
267+
#define _QFIS_IS_NOT_STATEMENT ,-( //skipcq: CXX-E2000
268+
#define _QFIS_END_STATEMENT +1) //skipcq: CXX-E2000
269269
/*! @endcond */
270270

271271
/*Rules build keywords*/

include/qfp16.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
typedef int32_t qFP16_t;
2626

2727
/*! @cond */
28-
struct _qFP16_const_s
28+
struct _qFP16_const_s //skipcq: CXX-E2000
2929
{
3030
const qFP16_t
3131
f_e, /* [ e ] The base of natural logarithms, e.*/
@@ -57,7 +57,7 @@ extern "C" {
5757
/**
5858
* @brief Fixed-point Q16.16 constants
5959
*/
60-
extern const struct _qFP16_const_s qFP16;
60+
extern const struct _qFP16_const_s qFP16; //skipcq: CXX-E2000
6161

6262
/**
6363
* @brief A macro for defining a fixed-point constant value.

include/qltisys.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
* @details The instance should be initialized using the qLTISys_Setup() API.
4949
* @note Do not access any member of this structure directly.
5050
*/
51-
typedef struct _qLTISys_s
51+
typedef struct _qLTISys_s //skipcq: CXX-E2000
5252
{
5353
/*! @cond */
5454
float (*sysUpdate)( struct _qLTISys_s *sys, float u );

include/qnuma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extern "C" {
1515

1616
#include <stdbool.h>
1717

18-
typedef struct _qNumA_state_s
18+
typedef struct _qNumA_state_s //skipcq: CXX-E2000
1919
{
2020
/*! @cond */
2121
float x[ 3 ];

include/qssmoother.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ extern "C" {
4242
/*! @cond */
4343
#define qSSmootherPtr_t void
4444
/*abstract class*/
45-
typedef struct _qSSmoother_s
45+
typedef struct _qSSmoother_s //skipcq: CXX-E2000
4646
{
4747
void *vt;
4848
uint8_t init;
49-
} _qSSmoother_t;
49+
} _qSSmoother_t; //skipcq: CXX-E2000
5050
/*! @endcond */
5151

5252
/**
@@ -266,16 +266,16 @@ extern "C" {
266266
* if ::QSSMOOTHER_TYPE_EXPW, a pointer to a value between [ 0 < @a lambda < 1 ]
267267
* that represents the forgetting factor.
268268
*
269-
* if ::QSSMOOTHER_TYPE_DESF, an array with three values. The first element
269+
* if ::QSSMOOTHER_TYPE_DESF, an array with three values. The first element
270270
* [ 0 < @a alpha < 1 ] that represents the weight for the level, the second,
271271
* [ 0 < @a beta < 1 ] weight for the trend. The third element with the number
272-
* of step for the forecast, should be an integer value greater or equal to
272+
* of step for the forecast, should be an integer value greater or equal to
273273
* zero.
274-
*
274+
*
275275
* if ::QSSMOOTHER_TYPE_ALNF, an array with two values. The first element
276276
* with learning rate [ 0 < @a alpha < 1 ]. The second element with the
277277
* momentum [ 0 < @a mu < 1 ].
278-
*
278+
*
279279
* @param[in] window The filter window and coefficients. Depends of the type
280280
* selected:
281281
*

qfp16.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/*used only for internal operations*/
1212
/*! @cond */
13-
struct _qFP16_intern_s
13+
struct _qFP16_intern_s //skipcq: CXX-E2000
1414
{
1515
const qFP16_t
1616
exp_max,
@@ -27,7 +27,7 @@ struct _qFP16_intern_s
2727
integer_mask;
2828
};
2929

30-
static const struct _qFP16_intern_s intern = {
30+
static const struct _qFP16_intern_s intern = { //skipcq: CXX-E2000
3131
/*exp_max*/ 681391,
3232
/*f_2*/ 131072,
3333
/*f_3*/ 196608,
@@ -41,7 +41,7 @@ static const struct _qFP16_intern_s intern = {
4141
/*integer_mask*/ 0xFFFF0000U
4242
};
4343

44-
const struct _qFP16_const_s qFP16 = {
44+
const struct _qFP16_const_s qFP16 = { //skipcq: CXX-E2000
4545
/*f_e*/ 178145,
4646
/*f_log2e*/ 94548,
4747
/*f_log10e*/ 28462,

0 commit comments

Comments
 (0)