Skip to content

Commit

Permalink
Fixed fade out time being hardcoded.
Browse files Browse the repository at this point in the history
  • Loading branch information
veroxzik committed Sep 27, 2020
1 parent ee49486 commit 08d45e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roxy/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ int main() {
button_led_manager.set_mode(i, (LedMode)((mapping_config.button_led_mode[i / 2] >> ((i % 2) * 4)) & 0xF));
}

button_led_manager.init(500);
button_led_manager.init(mapping_config.button_led_fade_time);

led1.set_mode(Pin::Output);
if(config.flags & (1 << 3)) {
Expand Down

0 comments on commit 08d45e2

Please sign in to comment.