Files
bobbycar-boardcomputer-firm…/main/actions/ledstripanimationactions.cpp
2022-02-08 11:03:29 +01:00

9 lines
285 B
C++

#include "ledstripanimationactions.h"
#ifdef FEATURE_LEDSTRIP
void LedStripSetAnimationAction::triggered()
{
if (auto result = configs.write_config(configs.ledstrip.animationType, m_animation); !result)
BobbyErrorHandler{}.errorOccured(std::move(result).error());
}
#endif