2016-06-02 01:31:57 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef CONFIG_ENABLE_DRY_SENSOR
|
|
|
|
int DrySetup(int powerGPIO);
|
|
|
|
int DryGetMeasure(int &dry);
|
|
|
|
bool DryIsConnected(){return true;}
|
|
|
|
#else
|
2016-09-28 00:29:54 +02:00
|
|
|
int DrySetup(int){return -1;}
|
2016-06-02 01:31:57 +02:00
|
|
|
int DryGetMeasure(int){return -1;}
|
|
|
|
bool DryIsConnected(){return false;}
|
|
|
|
#endif
|