Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
chl33 committed Feb 19, 2024
1 parent 07c62d5 commit 6749bfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oled_display_ring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ OledDisplayRing::OledDisplayRing(ModuleSystem* modules, const char* initial_txt,
unsigned switch_time_msec, FontSize font_size)
: Oled(kName, modules, initial_txt, font_size),
m_switch_time_msec(switch_time_msec),
m_scheduler(1, m_switch_time_msec, [this]() { timerCallback(); }, nullptr) {
m_scheduler(
1, m_switch_time_msec, [this]() { timerCallback(); }, nullptr) {
add_link_fn([this](const NameToModule& name_to_module) -> bool {
m_scheduler.setTasks(Tasks::get(name_to_module));
return true;
Expand Down

0 comments on commit 6749bfb

Please sign in to comment.