mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/saul: add common gas class
This commit is contained in:
parent
558322bc6f
commit
1118f80180
@ -124,6 +124,7 @@ enum {
|
||||
SAUL_SENSE_ID_DISTANCE, /**< sensor: distance */
|
||||
SAUL_SENSE_ID_CO2, /**< sensor: CO2 Gas */
|
||||
SAUL_SENSE_ID_TVOC, /**< sensor: TVOC Gas */
|
||||
SAUL_SENSE_ID_GAS, /**< sensor: Gas common */
|
||||
SAUL_SENSE_ID_OCCUP, /**< sensor: occupancy */
|
||||
SAUL_SENSE_ID_PROXIMITY, /**< sensor: proximity */
|
||||
SAUL_SENSE_ID_RSSI, /**< sensor: RSSI */
|
||||
@ -194,6 +195,8 @@ enum {
|
||||
SAUL_SENSE_CO2 = SAUL_CAT_SENSE | SAUL_SENSE_ID_CO2,
|
||||
/** sensor: TVOC Gas */
|
||||
SAUL_SENSE_TVOC = SAUL_CAT_SENSE | SAUL_SENSE_ID_TVOC,
|
||||
/** sensor: Gas common */
|
||||
SAUL_SENSE_GAS = SAUL_CAT_SENSE | SAUL_SENSE_ID_GAS,
|
||||
/** sensor: occupancy */
|
||||
SAUL_SENSE_OCCUP = SAUL_CAT_SENSE | SAUL_SENSE_ID_OCCUP,
|
||||
/** sensor: proximity */
|
||||
|
@ -52,6 +52,7 @@ static const char *sensors[] = {
|
||||
[SAUL_SENSE_ID_DISTANCE] = "SENSE_DISTANCE",
|
||||
[SAUL_SENSE_ID_CO2] = "SENSE_CO2",
|
||||
[SAUL_SENSE_ID_TVOC] = "SENSE_TVOC",
|
||||
[SAUL_SENSE_ID_GAS] = "SENSE_GAS",
|
||||
[SAUL_SENSE_ID_PROXIMITY] = "SENSE_PROXIMITY",
|
||||
[SAUL_SENSE_ID_RSSI] = "SENSE_RSSI",
|
||||
[SAUL_SENSE_ID_CHARGE] = "SENSE_CHARGE",
|
||||
|
Loading…
Reference in New Issue
Block a user