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
README.rst
prj.conf
sample.yaml

README.rst

.. _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).