Cleanup general definitions in MQUnifiedSensor.h
ADC_RESOLUTION is unused, and retries and retry_interval are only used by getVoltage(). Thus, remove ADC_RESOLUTION and move retries and retry_interval to MQUnifiedsensor.cpp. Furthermore, these three definitions have generic names so it's easy to have them conflict with a user's sketch that imports MQUnifiedSensor.h.pull/61/head
parent
a7e89570fd
commit
b6bff185f3
Loading…
Reference in New Issue