[apps] Add LED switch on/off to usb timer

Change-Id: I6685ab5e21829eb9f2751819b635177a4955d403
This commit is contained in:
Émilie Feral
2017-04-11 17:01:55 +02:00
parent 9ad32a31fe
commit 26495d6c36
6 changed files with 33 additions and 29 deletions

View File

@@ -26,7 +26,7 @@ AppsContainer::AppsContainer() :
m_examPopUpController(ExamPopUpController()),
m_ledTimer(LedTimer()),
m_batteryTimer(BatteryTimer(this)),
m_examModeTimer(ExamModeTimer(this))
m_USBTimer(USBTimer(this))
{
refreshPreferences();
}
@@ -128,7 +128,7 @@ Timer * AppsContainer::timerAtIndex(int i) {
case 0:
return &m_batteryTimer;
case 1:
return &m_examModeTimer;
return &m_USBTimer;
case 2:
return &m_ledTimer;
default: