Blame view

epsilon-master/apps/backlight_dimming_timer.cpp 263 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
  #include "backlight_dimming_timer.h"
  
  BacklightDimmingTimer::BacklightDimmingTimer() :
    Timer(k_idleBeforeDimmingDuration/Timer::TickDuration)
  {
  }
  
  bool BacklightDimmingTimer::fire() {
    Ion::Backlight::setBrightness(k_dimBacklightBrightness);
    return false;
  }