diff options
Diffstat (limited to 'test_fw/include/veml.h')
| -rw-r--r-- | test_fw/include/veml.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test_fw/include/veml.h b/test_fw/include/veml.h index 89282c8..51345a9 100644 --- a/test_fw/include/veml.h +++ b/test_fw/include/veml.h @@ -50,9 +50,9 @@ namespace ocularium AmbientLightGain gain = AmbientLightGain::Eighth; IntegrationTime integration = IntegrationTime::Ms100; - uint16_t to_reg() const; + [[nodiscard]] uint16_t to_reg() const; - int32_t gain_factor() const + [[nodiscard]] int32_t gain_factor() const { int32_t gain = 0; @@ -122,8 +122,8 @@ namespace ocularium bool init(const Config& config = Config{}); - uint16_t chipid() const; - float lux() const; + [[nodiscard]] uint16_t chipid() const; + [[nodiscard]] float lux() const; void set_config(const Config& config); |
