zephyr/drivers/sensor/dht
Andy Ross 220d4f8347 sys_clock.h: Make "global variable" APIs into proper functions
The existing API defined sys_clock_{hw_cycles,ticks}_per_sec as simple
"variables" to be shared, except that they were only real storage in
certain modes (the HPET driver, basically) and everywhere else they
were a build constant.

Properly, these should be an API defined by the timer driver (who
controls those rates) and consumed by the clock subsystem.  So give
them function syntax as a stepping stone to get there.

Note that this also removes the deprecated variable
_sys_clock_us_per_tick rather than give it the same treatment.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
dht.c sys_clock.h: Make "global variable" APIs into proper functions 2018-10-16 15:03:10 -04:00
dht.h drivers: sensor: Migrate to new logger 2018-10-16 08:49:53 -04:00
Kconfig sensor: Eliminate repetitive Kconfig "depends on" in sensor drivers 2018-09-13 01:02:37 -04:00