MCPcopy Create free account
hub / github.com/OpenStickCommunity/GP2040-CE / DecreaseBrightness

Method DecreaseBrightness

src/animationstation/animationstation.cpp:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void AnimationStation::DecreaseBrightness() {
235 AnimationOptions & animationOptions = Storage::getInstance().getAnimationOptions();
236 if (animationOptions.brightness > 0)
237 SetBrightness(animationOptions.brightness-1);
238}
239
240void AnimationStation::IncreaseBrightness() {
241 AnimationOptions & animationOptions = Storage::getInstance().getAnimationOptions();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected