mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-15 00:46:31 +02:00
change locallyControlled
to configurationControl
and update relate logic
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
|
||||
/**
|
||||
* @brief RGB LED bar mode for ONE_INDOOR board
|
||||
*
|
||||
*
|
||||
*/
|
||||
enum UseLedBar {
|
||||
UseLedBarOff, /** Don't use LED bar */
|
||||
@ -23,6 +23,12 @@ enum UseLedBar {
|
||||
UseLedBarCO2, /** Use LED bar for CO2 */
|
||||
};
|
||||
|
||||
enum ConfigurationControl {
|
||||
Local, /** Allow set configuration from local over HTTP server */
|
||||
Cloud, /** Allow set configuration from Airgradient webserver */
|
||||
Both /** Allow set configuration from Local and Cloud */
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Class with define all the sensor has supported by Airgradient. Each
|
||||
* sensor usage must be init before use.
|
||||
|
Reference in New Issue
Block a user