Commit 26f6619a authored by Eric Duminil's avatar Eric Duminil
Browse files

Avoid comparing int and uint

parent 84d55830
...@@ -146,7 +146,7 @@ namespace led_effects { ...@@ -146,7 +146,7 @@ namespace led_effects {
pixels.show(); pixels.show();
} }
void showRainbowWheel(int duration_ms, uint16_t hue_increment) { void showRainbowWheel(uint16_t duration_ms, uint16_t hue_increment) {
if (config::night_mode) { if (config::night_mode) {
return; return;
} }
......
...@@ -29,7 +29,7 @@ namespace led_effects { ...@@ -29,7 +29,7 @@ namespace led_effects {
int countdownToZero(); int countdownToZero();
void showWaitingLED(uint32_t color); void showWaitingLED(uint32_t color);
void showKITTWheel(uint32_t color, uint16_t duration_s = 2); void showKITTWheel(uint32_t color, uint16_t duration_s = 2);
void showRainbowWheel(int duration_ms = 1000, uint16_t hue_increment = 50); void showRainbowWheel(uint16_t duration_ms = 1000, uint16_t hue_increment = 50);
void displayCO2color(uint16_t co2); void displayCO2color(uint16_t co2);
} }
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment