remove sensordata from constructor

This commit is contained in:
interfisch 2021-11-07 22:46:42 +01:00
parent 275c641ec8
commit da46dd1a77
3 changed files with 0 additions and 3 deletions

View File

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

View File

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

View File

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