This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_HP206C_ALT_OFFSET

Altitude offset (in cm)

Type: int

Help

Value, in cm, that will be used to compensate altitude calculation.
For more info on how to choose this value, consult section 6.1.1 in
the datasheet.

Direct dependencies

!HP206C_ALT_OFFSET_RUNTIME && HP206C && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At drivers/sensor/hp206c/Kconfig:30

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:99

Menu path: (Top) → Device Drivers → Sensor Drivers → HopeRF HP206C precision barometer and altimeter sensor

config HP206C_ALT_OFFSET
    int "Altitude offset (in cm)"
    default 0
    depends on !HP206C_ALT_OFFSET_RUNTIME && HP206C && SENSOR
    help
      Value, in cm, that will be used to compensate altitude calculation.
      For more info on how to choose this value, consult section 6.1.1 in
      the datasheet.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)