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 {
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) {
return;
}
......
......@@ -29,7 +29,7 @@ namespace led_effects {
int countdownToZero();
void showWaitingLED(uint32_t color);
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);
}
#endif
Supports Markdown
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