Skip to content

Commit 7c2ce3c

Browse files
jaenrig-ifxjaenrig-ifx
authored and
jaenrig-ifx
committed
Added samd core support. Bumped minor version.
1 parent f0bd9fc commit 7c2ce3c

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ An exception to the previous are the sources obtained from the [sensor-xensiv-pa
4949
which are licensed under Apache 2.0:
5050

5151
```
52-
Copyright (c) 2021 Infineon Technologies AG
52+
Copyright (c) 2021-2023 Infineon Technologies AG
5353
SPDX-License-Identifier: Apache-2.0
5454
5555
Licensed under the Apache License, Version 2.0 (the "License");

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url":"https://github.com/Infineon/arduino-pas-co2-sensor.git",
88
"branch":"master"
99
},
10-
"version":"3.0.2",
10+
"version":"3.1.0",
1111
"license":"MIT",
1212
"frameworks":"arduino",
1313
"platforms":[

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=XENSIV PAS CO2
2-
version=3.0.2
2+
version=3.1.0
33
author=Infineon Technologies
44
maintainer=Infineon Technologies <www.infineon.com>
55
sentence=C/C++ library for Infineon XENSIV™ PAS CO2 sensor

src/pas-co2-ino.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,12 @@ Error_t PASCO2Ino::startMeasure(int16_t periodInSec, int16_t alarmTh, void (*cba
352352
{
353353
/* Enable sensor interrupt */
354354
intConf.b.int_typ = XENSIV_PASCO2_INTERRUPT_TYPE_HIGH_ACTIVE;
355-
uint8_t int_event = RISING;
355+
#ifdef ARDUINO_ARCH_SAMD
356+
PinStatus int_event;
357+
#else
358+
uint8_t int_event;
359+
#endif
360+
int_event = RISING;
356361

357362
if(true == earlyNotification)
358363
{

0 commit comments

Comments
 (0)