Skip to content

Commit e1c259a

Browse files
Update protobufs (#8396)
Co-authored-by: fifieldt <[email protected]>
1 parent 4f142e6 commit e1c259a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

protobufs

src/mesh/generated/meshtastic/telemetry.pb.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ typedef enum _meshtastic_TelemetrySensorType {
101101
/* SEN5X PM SENSORS */
102102
meshtastic_TelemetrySensorType_SEN5X = 43,
103103
/* TSL2561 light sensor */
104-
meshtastic_TelemetrySensorType_TSL2561 = 44
104+
meshtastic_TelemetrySensorType_TSL2561 = 44,
105+
/* BH1750 light sensor */
106+
meshtastic_TelemetrySensorType_BH1750 = 45
105107
} meshtastic_TelemetrySensorType;
106108

107109
/* Struct definitions */
@@ -438,8 +440,8 @@ extern "C" {
438440

439441
/* Helper constants for enums */
440442
#define _meshtastic_TelemetrySensorType_MIN meshtastic_TelemetrySensorType_SENSOR_UNSET
441-
#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_TSL2561
442-
#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_TSL2561+1))
443+
#define _meshtastic_TelemetrySensorType_MAX meshtastic_TelemetrySensorType_BH1750
444+
#define _meshtastic_TelemetrySensorType_ARRAYSIZE ((meshtastic_TelemetrySensorType)(meshtastic_TelemetrySensorType_BH1750+1))
443445

444446

445447

0 commit comments

Comments
 (0)