From 105a59758e29ce19112be529ad9dff8650f8666d Mon Sep 17 00:00:00 2001 From: Giorgio Aresu Date: Wed, 11 Dec 2019 22:02:05 +0100 Subject: [PATCH] Fix _sensorThreshold data type --- FanController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FanController.h b/FanController.h index 6d7c7c5..44dc3e3 100644 --- a/FanController.h +++ b/FanController.h @@ -20,7 +20,7 @@ class FanController static FanController *_instances[6]; byte _sensorPin; byte _sensorInterruptPin; - byte _sensorThreshold; + unsigned int _sensorThreshold; byte _pwmPin; byte _pwmDutyCycle; byte _instance;