Browse Source

Fixed a few C++ build warnings.

pull/20/head
Maurice Makaay 3 years ago
parent
commit
d4f8675fa7
2 changed files with 0 additions and 3 deletions
  1. +0
    -2
      light/color_instant_handler.h
  2. +0
    -1
      light/color_rgb_light.h

+ 0
- 2
light/color_instant_handler.h View File

@ -29,8 +29,6 @@ namespace bslamp2 {
class ColorInstantHandler : public GPIOOutputs { class ColorInstantHandler : public GPIOOutputs {
public: public:
bool set_light_color_values(light::LightColorValues v) { bool set_light_color_values(light::LightColorValues v) {
GPIOOutputs *delegate;
// The actual implementation of the various light modes is in // The actual implementation of the various light modes is in
// separated targeted classes. These classes are called here // separated targeted classes. These classes are called here
// in a chain of command-like pattern, to let the first one // in a chain of command-like pattern, to let the first one


+ 0
- 1
light/color_rgb_light.h View File

@ -273,7 +273,6 @@ public:
v.get_brightness(), &rgb_a_); v.get_brightness(), &rgb_a_);
// Determine duty cycle measurements for the inner ring. // Determine duty cycle measurements for the inner ring.
auto level_b = ceil(level);
set_duty_cycles_( set_duty_cycles_(
&rgbp_b_, level_a, v.get_red(), v.get_green(), v.get_blue(), &rgbp_b_, level_a, v.get_red(), v.get_green(), v.get_blue(),
v.get_brightness(), &rgb_b_); v.get_brightness(), &rgb_b_);


Loading…
Cancel
Save