zephyr/samples/sensor/magn_polling
Tomasz Bursztyka 97326c0445 device: Fix structure attributes access
Since struct devconfig was merged earlier into struct device, let's fix
accessing config_info, name, ... attributes everywhere via:

grep -rlZ 'dev->config->' | xargs -0 sed -i 's/dev->config->/dev->/g'

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-05-08 23:07:44 +02:00
..
src device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
CMakeLists.txt cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
prj.conf sensors: magn_polling: convert to and build with unified kernel 2016-11-03 01:45:48 +00:00
README.rst doc: add labels to sensor sample docs for linking 2017-04-04 20:47:35 +00:00
sample.yaml sensor: bmc150_magn: Convert to DTS 2019-11-08 07:44:54 -06:00

.. _magn-polling-sample:

BMC150 Magnetometer Sample
##########################

Overview
********

Sample application that periodically reads magnetometer (X, Y, Z) data from
the first available device that implements SENSOR_CHAN_MAGN_* (predefined array
of device names).