mirror of https://github.com/arendst/Tasmota.git
Update xsns_22_sr04.ino
This commit is contained in:
parent
b03c761eee
commit
e37dbd1f6a
|
@ -34,7 +34,7 @@ real64_t distance;
|
|||
|
||||
NewPing* sonar = NULL;
|
||||
|
||||
void Sr04Init()
|
||||
void Sr04Init(void)
|
||||
{
|
||||
sr04_echo_pin = pin[GPIO_SR04_ECHO];
|
||||
sr04_trig_pin = pin[GPIO_SR04_TRIG];
|
||||
|
|
Loading…
Reference in New Issue