2019-09-21 12:33:13 -07:00
|
|
|
/**
|
|
|
|
* @file init.h
|
|
|
|
*/
|
|
|
|
|
2019-09-21 11:33:38 -07:00
|
|
|
#pragma once
|
|
|
|
|
2020-02-08 01:22:23 -08:00
|
|
|
// Call this once at startup to initialize, configure, and subscribe sensors
|
2020-02-08 13:34:29 -08:00
|
|
|
void initSensors();
|
2020-02-08 01:22:23 -08:00
|
|
|
|
|
|
|
// Call this whenever the configuration may have changed, so any sensors
|
|
|
|
// can be reconfigured with the new settings.
|
|
|
|
// Note: this may not be necessarily possible for all sensors, so some may
|
|
|
|
// do nothing when this is called.
|
|
|
|
void reconfigureSensors();
|