Commit Graph

3 Commits

Author SHA1 Message Date
1b3d8ac7ca Move from has_* to capabilities bits 2018-04-22 09:42:47 +02:00
9d9cd1d00a Add Read Cache and Stats
- baro.cache_ttl_ms avoids multiple reads
- by default, cache is off (cache_ttl_ms=0)
- stats are updated (similar to how prometheus-sensors does this)
2018-04-21 15:39:57 +02:00
89ec34dc1d Add mgos_barometer API 2018-04-21 15:17:24 +02:00