mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
led menu enlarge
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@726 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: c669bb863f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-08-19 (Thu, 19 Aug 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3738,9 +3738,26 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
||||
if(timer_minutes)
|
||||
fp_timer = (timer_minutes - mtime)/60;
|
||||
printf("now: %ld, timer %ld, FP timer %ld\n", mtime/60, timer_minutes/60, fp_timer);fflush(stdout);
|
||||
int leds = 0x40;
|
||||
switch(g_settings.led_deep_mode){
|
||||
case 0:
|
||||
leds = 0x0;//off leds
|
||||
break;
|
||||
case 1:
|
||||
leds = 0x60;//on led1 & 2
|
||||
break;
|
||||
case 2:
|
||||
leds = 0x20;//led1 on , 2 off
|
||||
break;
|
||||
case 3:
|
||||
leds = 0x40;//led2 off, 2 on
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
standby.brightness = g_settings.lcd_setting[SNeutrinoSettings::LCD_DEEPSTANDBY_BRIGHTNESS];
|
||||
standby.flags = g_settings.led_deep_mode ? 0x40:0;
|
||||
standby.flags = leds;
|
||||
standby.current_hour = tmtime->tm_hour;
|
||||
standby.current_minute = tmtime->tm_min;
|
||||
standby.timer_minutes_hi = fp_timer >> 8;;
|
||||
|
Reference in New Issue
Block a user