Browse Source

remove sensordata from constructor

master
interfisch 2 months ago
parent
commit
da46dd1a77
  1. 1
      include/sensor_hcsr501.cpp
  2. 1
      include/sensor_ldr.cpp
  3. 1
      include/sensor_radar.cpp

1
include/sensor_hcsr501.cpp

@ -10,7 +10,6 @@
Sensor_HCSR501::Sensor_HCSR501(int pin)
{
hcsr501pin=pin;
sensordata data;
}
void Sensor_HCSR501::init() //Things to be done during setup()

1
include/sensor_ldr.cpp

@ -6,7 +6,6 @@
Sensor_LDR::Sensor_LDR(int p)
{
pin=p;
sensordata data;
}
void Sensor_LDR::init() //Things to be done during setup()

1
include/sensor_radar.cpp

@ -6,7 +6,6 @@
Sensor_Radar::Sensor_Radar(int pin)
{
radarpin=pin;
sensordata data;
}
void Sensor_Radar::init() //Things to be done during setup()

Loading…
Cancel
Save