Support different Sensor update types
This commit is contained in:
parent
ff07551a59
commit
09f7e55b4e
20 changed files with 258 additions and 41 deletions
|
|
@ -21,7 +21,7 @@ void Regulator::setSensor(const Sensor sensor)
|
|||
sensor_ = sensor;
|
||||
}
|
||||
|
||||
void Regulator::sensorEvent(Sensor sensor)
|
||||
void Regulator::sensorEvent(Sensor sensor, sensor_update_type_t type)
|
||||
{
|
||||
if(active && sensor == sensor_)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue