bug fix where pre and post conf actions where reversed
Former-commit-id: ac688ff189cf02b0f013a9280b1d5beae49e7c2b
This commit is contained in:
parent
aefb0054a0
commit
73ac1f8208
1 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ public class ControllerManager implements HalSensorReportListener,
|
|||
|
||||
/////////////////////////////// GENERAL ///////////////////////////////////
|
||||
@Override
|
||||
public void postConfigurationAction(Configurator configurator, Object obj) {
|
||||
public void preConfigurationAction(Configurator configurator, Object obj) {
|
||||
if(obj instanceof HalSensorData) {
|
||||
Sensor sensor = findSensor((HalSensorData) obj, registeredSensors);
|
||||
if(sensor != null){
|
||||
|
|
@ -252,7 +252,7 @@ public class ControllerManager implements HalSensorReportListener,
|
|||
}
|
||||
|
||||
@Override
|
||||
public void preConfigurationAction(Configurator configurator, Object obj) {
|
||||
public void postConfigurationAction(Configurator configurator, Object obj) {
|
||||
if(obj instanceof HalSensorController) {
|
||||
Sensor sensor = findSensor((HalSensorData) obj, limboSensors);
|
||||
if(sensor != null){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue