remove sensordata from constructor
This commit is contained in:
parent
275c641ec8
commit
da46dd1a77
|
@ -10,7 +10,6 @@
|
|||
Sensor_HCSR501::Sensor_HCSR501(int pin)
|
||||
{
|
||||
hcsr501pin=pin;
|
||||
sensordata data;
|
||||
}
|
||||
|
||||
void Sensor_HCSR501::init() //Things to be done during setup()
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
Sensor_LDR::Sensor_LDR(int p)
|
||||
{
|
||||
pin=p;
|
||||
sensordata data;
|
||||
}
|
||||
|
||||
void Sensor_LDR::init() //Things to be done during setup()
|
||||
|
|
|
@ -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…
Reference in New Issue