Skip to content

Commit

Permalink
Reduce warnings in null Led
Browse files Browse the repository at this point in the history
  • Loading branch information
nkming2 committed Nov 10, 2014
1 parent afb9a36 commit e4c8c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsc/k60/led.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ void Led::Switch()
}

#else
Led::Led(const uint8_t id)
Led::Led(const uint8_t)
: m_pin(nullptr)
{
LOG_DL("Configured not to use Led");
}
void Led::SetEnable(const bool flag) {}
void Led::SetEnable(const bool) {}
void Led::Switch() {}

#endif
Expand Down

0 comments on commit e4c8c5b

Please sign in to comment.