mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
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…
x
Reference in New Issue
Block a user