Correct DrySetup when disabled

This commit is contained in:
Mathieu Maret 2016-06-09 21:37:44 +02:00
parent 5db953072d
commit d35652dbf7

View File

@ -5,7 +5,7 @@ int DrySetup(int powerGPIO);
int DryGetMeasure(int &dry);
bool DryIsConnected(){return true;}
#else
int DrySetup(int powerGPIO){return 0;}
int DrySetup(int powerGPIO){return -1;}
int DryGetMeasure(int){return -1;}
bool DryIsConnected(){return false;}
#endif