12 lines
264 B
C
12 lines
264 B
C
#pragma once
|
|
|
|
#ifdef CONFIG_ENABLE_DRY_SENSOR
|
|
int DrySetup(int powerGPIO);
|
|
int DryGetMeasure(int &dry);
|
|
bool DryIsConnected(){return true;}
|
|
#else
|
|
int DrySetup(int powerGPIO){return 0;}
|
|
int DryGetMeasure(int){return -1;}
|
|
bool DryIsConnected(){return false;}
|
|
#endif
|