From 820a94a947b6ab5cacf29e1fb44106975307a113 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 25 Jun 2019 22:37:39 +0200 Subject: [PATCH] change radioactivity conversion --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 0405d0c..64fef89 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,8 +77,8 @@ static constexpr uint8_t SDS_TX = D1; static constexpr uint8_t SDS_RX = D2; static constexpr uint8_t GEIGER_PIN = D6; -static constexpr float CONV_FACTOR = 0.008120 / 2.5; -static constexpr float OWN_BACKGROUND_CPS = 0; // documentation says 0.2 (make sure value doesn't get negative if subtracting!) +static constexpr float CONV_FACTOR = 0.008120; +static constexpr float OWN_BACKGROUND_CPS = 0.2; // documentation says 0.2 (make sure value doesn't get negative if subtracting!) #ifndef EXTERNAL_POWER ADC_MODE(ADC_VCC);