Skip to content

Commit

Permalink
fixup for compliance check
Browse files Browse the repository at this point in the history
  • Loading branch information
yperess committed Nov 22, 2024
1 parent 8a95d19 commit f99f629
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
20 changes: 15 additions & 5 deletions drivers/sensor/attributes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
attributes:
sampling_frequency:
name: "sampling rate"
description: "Sensor sampling frequency, i.e. how many times a second the sensor takes a measurement."
description: >
Sensor sampling frequency, i.e. how many times a second the sensor takes a measurement.
lower_thresh:
name: "lower threshold"
description: "Lower threshold for trigger."
Expand All @@ -16,7 +17,9 @@ attributes:
description: "Threshold for any-motion (slope) trigger."
slope_dur:
name: "slope value threshold duration"
description: "Duration for which the slope values needs to be outside the threshold for the trigger to fire."
description: >
Duration for which the slope values needs to be outside the threshold for the trigger to
fire.
hysteresis:
name: "hysteresis"
description: "Hysteresis for trigger thresholds."
Expand All @@ -28,10 +31,14 @@ attributes:
description: "Sensor range, in SI units."
offset:
name: "value offset"
description: "The sensor value returned will be altered by the amount indicated by offset: final_value = sensor_value + offset."
description: >
The sensor value returned will be altered by the amount indicated by offset: final_value =
sensor_value + offset.
calib_target:
name: "calibration target"
description: "Calibration target. This will be used by the internal chip's algorithms to calibrate itself on a certain axis, or all of them."
description: >
Calibration target. This will be used by the internal chip's algorithms to calibrate itself
on a certain axis, or all of them.
configuration:
name: "operating mode"
description: "Configure the operating modes of a sensor."
Expand All @@ -46,7 +53,10 @@ attributes:
description: "Alert threshold or alert enable/disable"
ff_dur:
name: "free-fall duration"
description: "Free-fall duration represented in milliseconds. If the sampling frequency is changed during runtime, this attribute should be set to adjust freefall duration to the new sampling frequency."
description: >
Free-fall duration represented in milliseconds. If the sampling frequency is changed during
runtime, this attribute should be set to adjust freefall duration to the new sampling
frequency.
batch_duration:
name: "batch duration"
description: "Hardware batch duration in ticks"
Expand Down
3 changes: 1 addition & 2 deletions drivers/sensor/bosch/bma4xx/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ supported-buses:
- i2c
- spi
description: |
Sensor driver implementation for https://www.bosch-sensortec.com/products/motion-sensors/accelerometers/bma422/
and bma423 (no product landing page).
Sensor driver implementation for bma422 and bma423.
channels:
accel_x: []
accel_y: []
Expand Down
2 changes: 1 addition & 1 deletion drivers/sensor/bosch/bmi160/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ supported-buses:
- i2c
- spi
description: |
Sensor driver implementation for https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi160/.
Sensor driver implementation for bmi160.
channels:
accel_x: []
accel_y: []
Expand Down
2 changes: 1 addition & 1 deletion drivers/sensor/channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ channels:
co2:
name: "CO2"
description: "CO2 level, in parts per million (ppm)"
units: "concentration"
units: "concentration"
o2:
name: "CO2"
description: "O2 level, in parts per million (ppm)"
Expand Down

0 comments on commit f99f629

Please sign in to comment.