From 8a1a83115afcc8349ff66c6ba252e0cc1aacb27a Mon Sep 17 00:00:00 2001 From: Quentin Fisch Date: Thu, 25 Jul 2024 14:30:05 +0200 Subject: [PATCH] Added SEN66 to known sensor types --- CHANGELOG.md | 1 + src/SensorType.cpp | 2 ++ src/SensorType.h | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d547b..49f2802 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +- Added SEN66 to sensor types ## [0.3.2] - 2024-06-19 diff --git a/src/SensorType.cpp b/src/SensorType.cpp index 44ff448..efe75fa 100644 --- a/src/SensorType.cpp +++ b/src/SensorType.cpp @@ -32,6 +32,8 @@ const char *sensorLabel(SensorType sensorType) { return "SGP4X"; case SensorType::SGP41: return "SGP41"; + case SensorType::SEN66: + return "SEN66"; default: return "UNDEFINED"; } diff --git a/src/SensorType.h b/src/SensorType.h index 250cf58..5a3395e 100644 --- a/src/SensorType.h +++ b/src/SensorType.h @@ -19,7 +19,8 @@ enum class SensorType { STC3X, STC31, SGP4X, - SGP41 + SGP41, + SEN66 }; /**