File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1767,9 +1767,9 @@ Each [=mock sensor type=] has a [=mock sensor reading values=] dictionary:
1767
1767
1. Set |mock|'s [=mock sensor type=] to |type|.
1768
1768
1. Let |connected| be the |configuration|.{{MockSensorConfiguration/connected}} , set |mock|'s associated
1769
1769
[=connection flag=] to |connected|.
1770
- 1. If |configuration|.{{MockSensorConfiguration/maxSamplingFrequency}} is [=present =] , then:
1770
+ 1. If |configuration|.{{MockSensorConfiguration/maxSamplingFrequency}} [=map/exists =] , then:
1771
1771
1. Set |mock|'s maximum supported sampling frequency to |configuration|.{{MockSensorConfiguration/maxSamplingFrequency}} .
1772
- 1. If |configuration|.{{MockSensorConfiguration/minSamplingFrequency}} is [=present =] , then:
1772
+ 1. If |configuration|.{{MockSensorConfiguration/minSamplingFrequency}} [=map/exists =] , then:
1773
1773
1. Set |mock|'s minimum supported sampling frequency to |configuration|.{{MockSensorConfiguration/minSamplingFrequency}} .
1774
1774
1. Let |sensor_instance| be a |type| of {{Sensor}} object, set |sensor_instance|'s associated [=platform sensor=] to |mock|.
1775
1775
1. Return [=success=] with data `null`.
You can’t perform that action at this time.
0 commit comments