Skip to content

Commit 00e2ff4

Browse files
Bump version
1 parent 2755786 commit 00e2ff4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name=ProtoCentral AFE4490 PPG and SpO2 boards library
2-
version=1.2.0
2+
version=1.3.0
33
author=ProtoCentral Electronics <[email protected]>
44
maintainer=ProtoCentral Electronics <[email protected]>
55
sentence=Library for the ProtoCentral AFE4490 Shield and Breakout board
66
paragraph= Measure PPG, SpO2 and heartrate using the AFE4490-based shield/breakout boards from ProtoCentral
77
category=Sensors
88
url=https://github.com/Protocentral/protocentral-afe4490-arduino
9-
architectures=*
9+
architectures=*

src/Protocentral_spo2_algorithm.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "protocentral_afe44xx.h"
22
#include "Protocentral_spo2_algorithm.h"
33

4-
int32_t an_x[ BUFFER_SIZE];
5-
int32_t an_y[ BUFFER_SIZE];
4+
static int32_t an_x[ BUFFER_SIZE];
5+
static int32_t an_y[ BUFFER_SIZE];
66

77
const uint8_t uch_spo2_table[184]={ 95, 95, 95, 96, 96, 96, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 99, 99, 99, 99,
88
99, 99, 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100,
@@ -27,7 +27,7 @@ void spo2_algorithm :: estimate_spo2(uint16_t *pun_ir_buffer, int32_t n_ir_buffe
2727
int32_t n_spo2_calc;
2828
int32_t n_y_dc_max, n_x_dc_max;
2929
int32_t n_y_dc_max_idx=0;
30-
int32_t=n_x_dc_max_idx=0;
30+
int32_t n_x_dc_max_idx=0;
3131
int32_t an_ratio[5], n_ratio_average;
3232
int32_t n_nume, n_denom ;
3333

0 commit comments

Comments
 (0)