mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-02 23:47:42 +00:00
Update xsns_22_sr04.ino
Fix debug compile error
This commit is contained in:
parent
5927f7501c
commit
58d075deff
@ -28,6 +28,8 @@
|
||||
* - https://www.dfrobot.com/wiki/index.php/Weather-proof_Ultrasonic_Sensor_SKU_:_SEN0207
|
||||
\*********************************************************************************************/
|
||||
|
||||
#define XSNS_22 22
|
||||
|
||||
uint8_t sr04_echo_pin = 0;
|
||||
uint8_t sr04_trig_pin = 0;
|
||||
real64_t distance;
|
||||
@ -73,8 +75,6 @@ void Sr04Show(bool json)
|
||||
* Interface
|
||||
\*********************************************************************************************/
|
||||
|
||||
#define XSNS_22
|
||||
|
||||
bool Xsns22(uint8_t function)
|
||||
{
|
||||
bool result = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user